Commit Graph

850 Commits (882316ad6a771112e666126f00b8781c79ed8d30)

Author SHA1 Message Date
Nicholas Marriott 882316ad6a Set colour of window entry in status line based on window options. 2009-01-30 00:24:49 +00:00
Tiago Cunha 2bb499c8af Support #(command) in status-left, and status-right. 2009-01-29 23:35:14 +00:00
Nicholas Marriott 871f57cb63 Ugh. Another inner loop variable reuse bug. 2009-01-29 20:13:12 +00:00
Nicholas Marriott b4076865bb Fix page down, again. 2009-01-29 20:02:33 +00:00
Nicholas Marriott 2bf9f4973b Undo this and just shut lint up. 2009-01-29 19:26:53 +00:00
Nicholas Marriott 6ad0d2ab4a Nuke debugging. 2009-01-29 19:24:34 +00:00
Nicholas Marriott 2057e666a2 Mouse in copy mode. 2009-01-28 22:00:22 +00:00
Nicholas Marriott 4428987e95 * Better support for at least the most common variant of mouse input: parse it and adjust for different panes. Also support mouse in window/session choice mode.
* Bring back the fancy window titles with session/window names: it is easy to work around problems with elinks (see FAQ).
2009-01-28 19:52:21 +00:00
Nicholas Marriott 70024b3685 Exit properly when bas password. 2009-01-28 17:57:00 +00:00
Nicholas Marriott 2af52440ba -u to start with screen scrolled up. 2009-01-27 23:35:44 +00:00
Nicholas Marriott 7b18a9a6eb Avoid warning. 2009-01-27 23:26:15 +00:00
Nicholas Marriott 167178aba4 Tweak selection slightly. 2009-01-27 23:10:18 +00:00
Nicholas Marriott fbbf46ef71 Close stdin/stdout/stderr. 2009-01-27 22:55:33 +00:00
Nicholas Marriott c1726281c9 Handle cursor on/off better. 2009-01-27 21:39:15 +00:00
Nicholas Marriott eafc1693ae Don't use NULL argv. 2009-01-27 21:01:26 +00:00
Nicholas Marriott 162546a6ed Done! 2009-01-27 20:37:31 +00:00
Nicholas Marriott c6bd9e2063 Allow status, mode and message attributes to be changed by three new options: status-attr, mode-attr, message-attr. A comma-separataed list is accepted containing: bright, dim, underscore, blink, reverse, hidden, italics, for example: set -g status-attr bright,blink
From Josh Elsasser, thanks!
2009-01-27 20:22:33 +00:00
Nicholas Marriott d697090fa4 +nitems. 2009-01-27 19:44:10 +00:00
Nicholas Marriott a239d80e88 Don't reuse index variable. 2009-01-27 19:40:56 +00:00
Nicholas Marriott 9cde0c2477 Be more clever about picking window name. 2009-01-26 22:57:20 +00:00
Nicholas Marriott 4d7e555a48 Don't screw up UTF-8 combined characters. 2009-01-26 20:57:45 +00:00
Nicholas Marriott 514adbdb4d Update. 2009-01-26 19:17:08 +00:00
Nicholas Marriott 7c8cd81b34 Typos. 2009-01-26 18:22:55 +00:00
Tiago Cunha f62ed6aaa3 load-buffer command 2009-01-25 19:00:10 +00:00
Tiago Cunha d60ad6f483 Make the caller responsible for allocating memory for the paste buffer data
(needed by the load-buffer command when dealing with big files since it'll
prevent tmux from dying due to memory exhaustion). From nicm.
2009-01-25 18:51:28 +00:00
Nicholas Marriott 32903241a2 +CHANGES. 2009-01-23 20:53:18 +00:00
Nicholas Marriott e0861a2cd0 Missed a reverse. 2009-01-23 20:50:58 +00:00
Nicholas Marriott 6146cab3bd Use reverse so status line etc works in terminals w/o colour. 2009-01-23 20:49:01 +00:00
Nicholas Marriott d2cfbc64a0 Raise some limits to INT_MAX, SHRT_MAX is too low. 2009-01-23 20:48:19 +00:00
Nicholas Marriott 7dab6f3e96 Add -a properly. 2009-01-23 20:20:23 +00:00
Nicholas Marriott 2cbd21ea44 Fix this properly... 2009-01-23 20:17:04 +00:00
Nicholas Marriott 374b0d85b8 Fix next/previous page. DOH. 2009-01-23 17:14:30 +00:00
Nicholas Marriott 4d9af27b0b Better error messages for fork. 2009-01-23 16:59:14 +00:00
Nicholas Marriott 3f171917f6 Return 1 on error. Doh. 2009-01-23 16:19:56 +00:00
Nicholas Marriott 773b574ea2 Return -1 on error. 2009-01-23 16:19:41 +00:00
Nicholas Marriott af5bc517c0 Update TODO. 2009-01-23 16:19:26 +00:00
Nicholas Marriott 392e135349 Handle SIGTERM (and kill-server which uses it), a bit more neatly - tidy up
properly and print a nicer message. Same effect though :-)
2009-01-21 22:47:31 +00:00
Nicholas Marriott 9acc26711d new-window -k. 2009-01-21 22:21:49 +00:00
Nicholas Marriott 19987feaaa Bring back -p and -l to splitw to specify height as % or nlines. 2009-01-21 19:38:51 +00:00
Nicholas Marriott 7118baa340 Allow a selection in vi keys mode... 2009-01-21 18:19:32 +00:00
Nicholas Marriott 48510fb56a Dont overload DEBUG, use FDEBUG. 2009-01-21 17:45:19 +00:00
Nicholas Marriott 8c259f562b Darwin support for automatic-rename, from joshe. 2009-01-20 22:17:53 +00:00
Nicholas Marriott caa93f0e02 Whoops. Ic not It. 2009-01-20 20:03:13 +00:00
Nicholas Marriott 670bba16f2 Darwin too. 2009-01-20 20:00:39 +00:00
Nicholas Marriott 2d15f59859 Try to change the window title to match the command running it in. This is done
by reading argv[0] from the process group leader of the group that owns the tty
(tcgetpgrp()). This can't be done portably so some OS-dependent code is
introduced (ugh); OpenBSD, FreeBSD and Linux are supported at the moment.

A new window flag, automatic-rename, is available: if this is set to off, the
window name is not changed. Specifying a name with the new-window, new-session
or rename-window commands will automatically set this flag to off for the
window in question. To disable it entirely set the option to off globally (setw
-g automatic-rename off).
2009-01-20 19:35:03 +00:00
Nicholas Marriott d4f034beb4 Die properly with warning. 2009-01-20 18:48:46 +00:00
Nicholas Marriott 2afa8ebc02 Fix various silly problems with status line off. 2009-01-19 20:14:55 +00:00
Nicholas Marriott 94471aab82 Use reverse rather than background which doesn't show up when terminal doesn't
support colours.
2009-01-19 19:01:11 +00:00
Nicholas Marriott 5e55b28d81 Bump protocol. 2009-01-19 18:26:50 +00:00
Nicholas Marriott 93230a64bc Pass return code from _exec; allow command sequences to work from the command line. 2009-01-19 18:23:40 +00:00