Nicholas Marriott
6789088dce
mouse-select-pane has to redraw the borders now too.
2010-01-08 09:14:15 +00:00
Nicholas Marriott
6a45fab608
New command, join-pane, to split and move an existing pane into the space (like
...
splitw then movep, or the reverse of breakp).
2010-01-07 20:52:18 +00:00
Nicholas Marriott
519c6fc7e7
Fix this properly.
2010-01-07 20:30:02 +00:00
Nicholas Marriott
ac46e87685
Don't return the root cell if the string doesn't match.
2010-01-07 20:28:01 +00:00
Nicholas Marriott
526bb6f3e9
Use the specified pane for size calculations. Doh.
2010-01-07 20:02:01 +00:00
Nicholas Marriott
462a11301a
Change split-window to accept a pane target (it should be split-pane but
...
renaming the command would be annoying).
2010-01-07 19:47:10 +00:00
Nicholas Marriott
ad8509f361
Correctly clear 256-colour flag for aixterm colours.
2010-01-06 23:13:52 +00:00
Nicholas Marriott
739b937b74
Fix selection behaviour when the cursor is moved backwards (ie so the selection
...
start is after the end).
2010-01-03 17:12:04 +00:00
Nicholas Marriott
7e4f8b45b6
Options to set the colour of the pane borders, with different colours for the
...
active pane.
2010-01-03 12:51:05 +00:00
Nicholas Marriott
121ba57b55
Use the target print function for copy-mode, spotted by Tiago Cunha.
2010-01-02 22:50:02 +00:00
Nicholas Marriott
9ee979167a
Use tcflush(3) instead of TIOCFLUSH, from Ed Schouten.
2010-01-01 14:29:18 +00:00
Nicholas Marriott
a775107f5f
Fix the logic so that transition from a 256 colour to default works properly.
2009-12-26 11:02:32 +00:00
Nicholas Marriott
cd9b1b1fd3
Nuke some stray debugging.
2009-12-26 10:39:02 +00:00
Philip Guenther
a3715e7867
Use sysctl() KERN_PROC2 instead of KERN_PROC, as the latter's ABI
...
is sensitive to changes in struct proc.
fixes for warnings and ok nicm@
2009-12-24 22:29:15 +00:00
Nicholas Marriott
4feee126b8
Fix a couple of problems with grouped sessions reported by danh: redraw
...
properly and choose the correct last window after a window is killed.
2009-12-22 10:20:08 +00:00
Nicholas Marriott
19ea306606
Allow keys to be replaced and reorder the table so that terminfo-defined keys
...
(or terminal-overrides) take precedence over internally defined.
2009-12-17 17:39:56 +00:00
Nicholas Marriott
0dda866679
Pass through the aixterm bright colours if the terminal supports them (>= 16
...
colours).
2009-12-14 21:33:38 +00:00
Nicholas Marriott
84d2e6c8a0
Add server options to completion as well.
2009-12-14 10:47:11 +00:00
Nicholas Marriott
30962cb200
New server option, escape-time, to set the timeout used to detect if escapes
...
are alone or part of a function key or meta sequence.
2009-12-14 10:43:41 +00:00
Nicholas Marriott
3f58cbaae9
Use quiet variable, and add missing sentinel to options array.
2009-12-11 13:58:48 +00:00
Nicholas Marriott
a4c9a80dac
Add "server options" which are server-wide and not bound to a session or
...
window. Set and displayed with "set -s" and "show -s".
Currently the only option is "quiet" (like command-line -q, allowing it to be
set from .tmux.conf), but others will come along.
2009-12-10 09:16:52 +00:00
Nicholas Marriott
6311bd119e
Permit panes to be referred to as "top", "bottom", "top-left" etc, if the right
...
pane can be identified.
2009-12-08 07:49:31 +00:00
Nicholas Marriott
796eb522ac
vte is buggy and doesn't home the cursor after changing the scroll
...
region. Several people are hitting this, so add a workaround.
2009-12-04 11:01:29 +00:00
Nicholas Marriott
e755475475
Wrap at 80 columns.
2009-12-03 22:54:34 +00:00
Nicholas Marriott
15a64b805e
Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last
...
time now I've configured emacs to make them displayed in really annoying
colours...
2009-12-03 22:50:09 +00:00
Nicholas Marriott
6c9862662f
Eliminate duplicate code and ease the passage for server-wide options by adding
...
a -w flag to set-option and show-options and making setw and showw aliases to
set -w and show -w.
Note: setw and showw are still there, but now aliases for set -w and show -w.
2009-12-03 17:44:02 +00:00
Nicholas Marriott
6bbc92a6f5
Reflect the keypad mode of the application so that numlock works.
2009-12-02 22:13:15 +00:00
Nicholas Marriott
459e9de81a
Close the pane if the process died due to a signal, not just if it exited
...
normally.
2009-12-02 15:06:14 +00:00
Nicholas Marriott
0926a23014
New command, capture-pane, which copies the entire pane contents to a paste
...
buffer. From Jonathan Alvarado.
2009-12-01 18:42:38 +00:00
Nicholas Marriott
f27fefd7b8
Look for mice and xterm keys before standard function keys as they are less
...
likely to be partial versions.
2009-12-01 07:59:40 +00:00
Nicholas Marriott
29a5931c6a
Handle partial xterm function key sequences.
2009-11-30 16:44:03 +00:00
Nicholas Marriott
2182e1badc
Add a couple of comments.
2009-11-27 09:41:03 +00:00
Nicholas Marriott
106ee8f30a
This doesn't need to be u_int.
2009-11-26 23:13:47 +00:00
Nicholas Marriott
1acf066fb9
Make types clearer and lint happier.
2009-11-26 22:56:59 +00:00
Nicholas Marriott
e7f4319ac6
Fix type - attributes should be u_char not int.
2009-11-26 22:47:14 +00:00
Nicholas Marriott
c2eb869f72
Change paranoia check to check for <= 0 and to avoid warning.
2009-11-26 22:32:00 +00:00
Nicholas Marriott
8cb410c63c
Tidy up various bits of the paste code, make the data buffer char * and add
...
comments.
2009-11-26 22:28:24 +00:00
Nicholas Marriott
ba5404d93e
Continue rather than returning if not a mouse key, to avoid hanging on any
...
function key...
2009-11-26 22:26:51 +00:00
Nicholas Marriott
4ca857e0e9
Remove a couple of unused arguments where possible, and add /* ARGSUSED */ to
...
the rest to reduce lint output.
2009-11-26 21:37:13 +00:00
Nicholas Marriott
621dabd44e
Rename a variable to something more helpful.
2009-11-26 21:22:31 +00:00
Nicholas Marriott
3e147967e2
Get a u_char from the string, otherwise it isn't possible to enter \0377 as it
...
is mistaken for EOF (doh).
Also drop an unused argument.
2009-11-26 21:14:30 +00:00
Nicholas Marriott
9c0147915e
Handle the possibility of partial mouse reads, and fix a comment while here.
2009-11-26 15:14:03 +00:00
Nicholas Marriott
d31d4c05cf
Emulate il1, dl1, ich1 to run (albeit slowly) with vt100 feature set.
2009-11-26 14:46:08 +00:00
Nicholas Marriott
094bca5ac3
Output the right keys for application and number keypad modes (they were the
...
wrong way round).
2009-11-25 12:24:31 +00:00
Nicholas Marriott
87821fce0e
Add a -p flag to display-message to print the output rather than displaying in
...
the status line, this allows things like "display -p '#W'" to find the current
window index.
2009-11-24 19:16:11 +00:00
Nicholas Marriott
fce47e2e63
Add cursor keys to the key names list.
2009-11-22 22:52:39 +00:00
Nicholas Marriott
9b9d26f80e
Use home from struct passwd if HOME is empty as well as if it is NULL, and fix
...
a style nit. Both from Tiago Cunha.
2009-11-21 17:52:18 +00:00
Nicholas Marriott
58688c48aa
When -h and -p are given to split-window, calculate the percentage size using
...
the width instead of the height.
2009-11-20 19:12:39 +00:00
Nicholas Marriott
5d56225d95
Display UTF-8 properly in status line messages and prompt. Cursor handling is
...
still way off though.
2009-11-20 07:01:12 +00:00
Nicholas Marriott
070e3b4178
Remove oldest messages from log when limit is hit, not newest.
2009-11-20 06:33:26 +00:00