Nicholas Marriott
041a911c43
Create a new context when copying instead of using the input context. The input
...
context may not exist yet.
2013-03-21 23:57:21 +00:00
Nicholas Marriott
10682b9e7e
Instead of loads of little screen_write_*_on and off functions which
...
just change mode flags, just have screen_write_mode_set and
screen_write_mode_clear.
2013-03-21 18:47:56 +00:00
Nicholas Marriott
c5504af4a6
Add various checks to turn off bits that can't work in control mode
...
(such as lock).
2013-03-21 18:47:01 +00:00
Nicholas Marriott
49ac5b5fe0
Do not include status line in size calculations in control mode.
2013-03-21 18:46:12 +00:00
Nicholas Marriott
d4785fe798
Don't set key KEYC_NONE on xterm_keys_find match()
...
When calling xterm_keys_find(); if we get a complete match, don't set
the key to unknown before calling the action to complete the binding;
otherwise non-prefixed bindings will not work.
From Thomas Adam
2013-03-21 18:45:38 +00:00
Nicholas Marriott
3d24c75d0f
Include the \033 in the key tree and adjust key matching for this change.
2013-03-21 18:44:47 +00:00
Nicholas Marriott
78543cce30
Support capture-pane -p to send to stdout.
2013-03-21 18:43:34 +00:00
Jason McIntyre
55bf2ecc68
tweak previous; ok nicm
2013-03-21 17:42:36 +00:00
Nicholas Marriott
51ac2a3202
Fix a couple of memory leaks, from Romain Francoise.
2013-03-21 16:54:37 +00:00
Nicholas Marriott
48291f0eeb
Make choose-tree actually work again.
2013-03-21 16:53:12 +00:00
Nicholas Marriott
d5139d1401
Fix a comment for new key table names.
2013-03-21 16:52:02 +00:00
Nicholas Marriott
3665be7c44
Tidy by splitting default key tables into two.
2013-03-21 16:50:22 +00:00
Nicholas Marriott
801d64a16e
Add -c to refresh-client to set client size in control mode, based on
...
code from George Nachman.
2013-03-21 16:49:37 +00:00
Nicholas Marriott
dd46c95e23
Aargh. Spaces -> tabs.
2013-03-21 16:25:08 +00:00
Nicholas Marriott
4920306486
Clarify choose-tree entry in man page.
2013-03-21 16:23:46 +00:00
Nicholas Marriott
66414029a1
Run session command before window in choose-tree.
2013-03-21 16:23:07 +00:00
Nicholas Marriott
51d989f5df
Do not crash when calling choose-tree with a command that changes the mode.
2013-03-21 16:22:48 +00:00
Nicholas Marriott
c982279950
Fix constness of cmd_template_replace, window_choose_add_item and
...
window_choose_add_window.
2013-03-21 16:19:25 +00:00
Nicholas Marriott
0c0953f3bd
Add user options, prefixed with @. May be set to any arbitrary string.
2013-03-21 16:17:01 +00:00
Nicholas Marriott
69fe5ca567
Add -v to set and setw to show only option value.
2013-03-21 16:15:52 +00:00
Nicholas Marriott
63b4fd5cac
Add a format client_prefix which is 1 if prefix key has been
...
pressed, used for example #{?client_prefix,X,Y}. Also a few extra
server_client_status needed.
2013-03-21 16:14:09 +00:00
Nicholas Marriott
dd76497ab0
Show alias in lscm output.
2013-03-21 16:12:50 +00:00
Nicholas Marriott
9b7e18f166
Rework reflow code so it does not do so much allocation which should be
...
faster with large histories.
2013-03-21 16:12:10 +00:00
Nicholas Marriott
180faf73af
Allow choose commands to be used outside tmux, so long as at least one
...
client is attached.
2013-03-21 16:09:59 +00:00
Nicholas Marriott
6ddb06d372
Extend jobs to support writing and use that for copy-pipe instead of popen,
...
from Chris Johnsen.
2013-03-21 14:24:33 +00:00
Nicholas Marriott
69d97f6d4b
Handle empty pending output (not a failure) and add \n. From George Nachman.
2013-03-19 09:34:00 +00:00
Nicholas Marriott
f5de847a0c
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
2013-03-17 23:45:19 +00:00
Nicholas Marriott
6bdc947f6b
Handle no client better in display-message.
2013-03-14 16:02:33 +00:00
Nicholas Marriott
919bde7cb1
When only two panes in a window, only draw half the separating line as active.
2013-03-14 12:08:26 +00:00
Nicholas Marriott
3d974b7267
Don't let display-message crash if no client, from George Nachman.
2013-03-14 07:31:20 +00:00
Nicholas Marriott
c5ad47ee7c
Only send end guard if begin was sent, from George Nachman.
2013-03-13 07:31:36 +00:00
Nicholas Marriott
4d38b6d1fa
Include prefix on ids, from George Nachman.
2013-03-13 07:28:12 +00:00
Nicholas Marriott
9e879b4aab
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
2013-03-12 22:49:56 +00:00
Nicholas Marriott
99934bf998
Write escaped output in control mode rather than hex, from George Nachman.
2013-03-12 22:48:58 +00:00
Nicholas Marriott
8840f2d629
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
2013-03-12 14:59:27 +00:00
Nicholas Marriott
d32a546d6e
Clarify zoom/unzoom, from Romain Francoise.
2013-03-12 14:58:48 +00:00
Nicholas Marriott
8aa40ec1c7
Don't zoom windows with one pane, from Romain Francoise.
2013-03-12 12:18:52 +00:00
Nicholas Marriott
543420ccd2
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
2013-03-11 21:31:46 +00:00
Nicholas Marriott
064022548b
We ignore SIGWINCH until ready, so send a MSG_RESIZE immediately when becoming
...
ready.
2013-03-11 21:30:48 +00:00
Nicholas Marriott
7c00950967
Don't add prefix to %output pane id.
2013-03-11 15:28:34 +00:00
Nicholas Marriott
b5516771d3
Clean up capture-pane and add -P option to dump pending output, based on code
...
from George Nachman.
2013-03-11 13:47:29 +00:00
Nicholas Marriott
7b4084a15a
Document control mode in the manpage, from George Nachman.
2013-03-11 13:06:30 +00:00
Nicholas Marriott
412ac6bc3a
Use single stdout and stderr for control clients.
2013-03-11 09:46:18 +00:00
Nicholas Marriott
a6ad44f111
Fix if-shell and run-shell if there are no sessions. Batted around through
...
several people, finished off by Chris Johnsen.
2013-03-11 09:43:56 +00:00
Nicholas Marriott
97620bb5be
Add a home and end as modified by xterm in keypad mode, from Chris Johnsen.
2013-03-11 09:37:52 +00:00
Nicholas Marriott
49ed75d883
Fix a warning.
2013-03-11 09:37:16 +00:00
Nicholas Marriott
c41d92d27a
Add time and a command count to control mode guards, based on code from George
...
Nachman.
2013-03-11 09:35:44 +00:00
Nicholas Marriott
a060aa2bf0
Fix handling of short (< 4 character) checksums and a bug with parsing
...
old-style custom layouts. Based on fix from Chris Johnsen.
2013-03-10 23:41:59 +00:00
Nicholas Marriott
2ac6501698
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
2013-03-09 21:33:28 +00:00
Nicholas Marriott
06ac399ce6
Zoom script is no longer needed.
2013-03-09 21:32:47 +00:00