Nicholas Marriott
25d551e8b2
Update an out-of-date and inaccurate comment.
2011-03-29 20:31:22 +00:00
Nicholas Marriott
d88c20e718
Change -t on display-message to be target-pane for the #[A-Z]
...
replacements and add -c as target-client.
2011-03-29 19:30:16 +00:00
Nicholas Marriott
f19a4bf9d1
Add -a and -s options to lsp to list all panes in the server or session
...
respectively. Likewise add -s to lsw. From Ben Boeckel.
2011-03-28 23:13:00 +00:00
Nicholas Marriott
82e0165c49
Allow a start and end line to be specified for capture-pane which may be
...
negative to capture part of the history. Prompted by request from Victor
J Orlikowski.
2011-03-28 20:17:39 +00:00
Nicholas Marriott
8091dcdd97
Add.
2011-03-28 20:14:30 +00:00
Nicholas Marriott
fa6abac98d
Style: uint -> u_int and a missing else.
2011-03-28 19:44:31 +00:00
Nicholas Marriott
f8dbfb0aa7
Add.
2011-03-28 18:59:37 +00:00
Nicholas Marriott
b9216d9566
Done.
2011-03-27 21:02:27 +00:00
Nicholas Marriott
71e8e26ccc
Set the terminal blocking again earlier, before sending the reset
...
sequences.
2011-03-27 20:36:19 +00:00
Nicholas Marriott
7ce8fee4f3
Don't include meta twice when working out the flags to output for
...
xterm-style keys - bit 3 is accepted on input but not on output. Also a
style nit in the header.
2011-03-27 20:31:25 +00:00
Nicholas Marriott
808502ac3d
Give each pane created in a tmux server a unique id (starting from 0),
...
put it in the TMUX_PANE environment variable and accept it as a
target. Suggested by and with testing and tweaks from Ben Boeckel.
2011-03-27 20:27:26 +00:00
Nicholas Marriott
d74e5bffba
Fix to properly wrap wide characters, from Micah Cowan.
2011-03-26 19:07:33 +00:00
Micah Cowan
a9eb5e12ec
Fix to properly wrap wide characters.
2011-03-24 17:03:29 +00:00
Tiago Cunha
164c2cbcb0
Sync OpenBSD patchset 868:
...
Fix an incorrect test which was always true (oupper is always < olower),
from Yusuke ENDOH.
2011-03-19 23:32:01 +00:00
Tiago Cunha
20e17604b5
Sync OpenBSD patchset 867:
...
Prevent tiled producing a corrupt layout when only one column is needed,
from Karl Ferdinand Ebert.
2011-03-19 23:31:08 +00:00
Tiago Cunha
a0295b4c2f
Sync OpenBSD patchset 866:
...
Support passing through escape sequences to the underlying terminal by
using DCS with a "tmux;" prefix. Escape characters in the sequences must
be doubled. For example:
$ printf '\033Ptmux;\033\033]12;red\007\033\\'
Will pass \033]12;red\007 to the terminal (and change the cursor colour
in xterm). From Kevin Goodsell.
2011-03-19 23:30:37 +00:00
Tiago Cunha
9bc44043a4
Sync OpenBSD patchset 864:
...
Fix a typo that meant we did not reset the background colour when it was
omitted in a 256-colour SGR ([48;5m). From Yusuke ENDOH.
2011-03-19 23:28:30 +00:00
Tiago Cunha
d0cca3924e
Sync OpenBSD patchset 863:
...
Add a -P option to detach to HUP the client's parent process (usually
causing it to exit as well).
2011-03-19 23:27:35 +00:00
Nicholas Marriott
54456d5602
Fix an incorrect test which was always true (oupper is always < olower),
...
from Yusuke ENDOH.
2011-03-08 19:23:49 +00:00
Nicholas Marriott
0a404aabd3
Prevent tiled producing a corrupt layout when only one column is needed,
...
from Karl Ferdinand Ebert.
2011-03-07 23:55:16 +00:00
Nicholas Marriott
79e30daeae
Support passing through escape sequences to the underlying terminal by
...
using DCS with a "tmux;" prefix. Escape characters in the sequences must
be doubled. For example:
$ printf '\033Ptmux;\033\033]12;red\007\033\\'
Will pass \033]12;red\007 to the terminal (and change the cursor colour
in xterm). From Kevin Goodsell.
2011-03-07 23:46:27 +00:00
Nicholas Marriott
34bb013b92
Use the right asprintf since we don't support truly broken platforms right now.
2011-03-04 23:39:41 +00:00
Nicholas Marriott
d5ed5fb08f
Two fixes by Micah Cowan: make mouse work properly beyond >127 on signed
...
char architectures and properly parse $TMUX by stopping the socket path
at the first comma.
2011-03-04 23:26:44 +00:00
Micah Cowan
4cb976b408
Fix sscanf that was guaranteed to always fail.
2011-03-04 23:13:56 +00:00
Micah Cowan
c0888f3fd1
Make sure non-UTF8 mouse coordinates are kept to 8-bit values.
2011-03-04 20:36:59 +00:00
Nicholas Marriott
c36f67a288
Fix a typo that meant we did not reset the background colour when it was
...
omitted in a 256-colour SGR ([48;5m). From Yusuke ENDOH.
2011-03-03 08:53:14 +00:00
Nicholas Marriott
7954126dcd
Add a -P option to detach to HUP the client's parent process (usually
...
causing it to exit as well).
2011-03-03 08:51:47 +00:00
Nicholas Marriott
9def6baaba
+.
2011-02-28 21:10:33 +00:00
Tiago Cunha
c7624fd25d
Sync OpenBSD patchset 862:
...
Size on split-window is -l not -s. Doh.
2011-02-15 15:26:54 +00:00
Tiago Cunha
32de1d52ea
Sync OpenBSD patchset 861:
...
Don't require -d with -x or -y since it could be in the config file.
2011-02-15 15:25:48 +00:00
Tiago Cunha
677286bc0e
Sync OpenBSD patchset 860:
...
Redraw pane borders when switching to last pane.
2011-02-15 15:25:12 +00:00
Tiago Cunha
19e81ffda5
Sync OpenBSD patchset 859:
...
Free old argument even if setting to NULL.
2011-02-15 15:24:40 +00:00
Tiago Cunha
d718a14bd0
Sync OpenBSD patchset 858:
...
Accept tcgetattr/tcsetattr failure, fixes problems with fatal() if the
terminal disappears while locked.
2011-02-15 15:24:00 +00:00
Tiago Cunha
04ce5cc2d1
Sync OpenBSD patchset 857:
...
Use input_clear to reset the APC, DCS, OSC state or it could be reused
improperly by a later state. From Kevin Goodsell.
2011-02-15 15:21:14 +00:00
Tiago Cunha
065384056b
Sync OpenBSD patchset 856:
...
Unused declaration.
2011-02-15 15:20:38 +00:00
Tiago Cunha
3d7b8105e1
Sync OpenBSD patchset 855:
...
Simplify the way jobs work and drop the persist type, so all jobs are
fire-and-forget.
Status jobs now managed with two trees of output (new and old), rather
than storing the output in the jobs themselves. When the status line is
processed any jobs which don't appear in the new tree are started and
the output from the old tree displayed. When a job finishes it updates
the new tree with its output and that is used for any subsequent
redraws. When the status interval expires, the new tree is moved to the
old so that all jobs are run again.
This fixes the "#(echo %H:%M:%S)" problem which would lead to thousands
of identical persistent jobs and high memory use (this can still be
achieved by adding "sleep 30" but that is much less likely to happen by
accident).
2011-02-15 15:20:03 +00:00
Tiago Cunha
3b56ebce6d
Sync OpenBSD patchset 854:
...
Use LIST_* not SLIST_*.
2011-02-15 15:12:28 +00:00
Tiago Cunha
2ab568fa88
Sync OpenBSD patchset 853:
...
When clearing the entire screen, clear lines that are used into the
history like xterm does. Requested ages ago by someone I've forgotten.
2011-02-15 15:10:47 +00:00
Tiago Cunha
4e4568cade
Sync OpenBSD patchset 852:
...
Check if the index is in use and fail before creating the child process,
rather than leaving a stray child on failure.
2011-02-15 15:09:52 +00:00
Tiago Cunha
d0d1c0e486
Sync OpenBSD patchset 848:
...
Set $TMUX without the session when background jobs are run.
2011-02-14 23:11:33 +00:00
Nicholas Marriott
d37650dc4f
Spacing.
2011-02-14 20:39:40 +00:00
Nicholas Marriott
cf3b73167d
Expand an entry.
2011-02-12 15:51:11 +00:00
Nicholas Marriott
5532615bc0
Solaris is SunOS.
2011-02-11 23:31:15 +00:00
Nicholas Marriott
ce91520e12
Size on split-window is -l not -s. Doh.
2011-02-10 12:12:14 +00:00
Nicholas Marriott
8ec3e5725c
Don't require -d with -x or -y since it could be in the config file.
2011-02-03 20:50:03 +00:00
Nicholas Marriott
7462c03281
Redraw pane borders when switching to last pane.
2011-01-31 20:54:42 +00:00
Nicholas Marriott
567741caf5
Free old argument even if setting to NULL.
2011-01-30 12:09:30 +00:00
Nicholas Marriott
9fc2c34a3b
Accept tcgetattr/tcsetattr failure, fixes problems with fatal() if the
...
terminal disappears while locked.
2011-01-29 08:39:43 +00:00
Nicholas Marriott
b6bb350289
Use input_clear to reset the APC, DCS, OSC state or it could be reused
...
improperly by a later state. From Kevin Goodsell.
2011-01-28 20:39:22 +00:00
Nicholas Marriott
bcc7c689c1
Unused declaration.
2011-01-26 02:55:34 +00:00