Nicholas Marriott
6405fceee2
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
2013-03-05 20:02:47 +00:00
Nicholas Marriott
f9e46a373f
Do not leak command in formats, from Romain Francoise.
2013-03-05 20:01:16 +00:00
Nicholas Marriott
d05debbe19
Unzoom on last-pane and fix a typo, from Romain Francoise.
2013-03-05 18:00:14 +00:00
Nicholas Marriott
f8c86a9515
Add some additional debug logging.
2013-03-05 17:17:59 +00:00
Nicholas Marriott
2c9cddd876
Continue the parent cmdq after sourcing a file.
2013-03-05 17:14:19 +00:00
Nicholas Marriott
aaeee34c32
Preserve trailing spaces with capture-pane -J, from George Nachman.
2013-03-04 11:03:03 +00:00
Nicholas Marriott
70397e4a95
Print %%error not %%end guard on error, from George Nachman.
2013-03-04 09:09:07 +00:00
Nicholas Marriott
43d904dbf3
tty.path can be NULL, don't dereference it. From George Nachman.
2013-03-04 09:02:32 +00:00
Nicholas Marriott
1da64bf786
Remove some unused/unnecessary control notifications, from George Nachman.
2013-03-04 09:01:30 +00:00
Nicholas Marriott
1cb1fb5bd4
Add -q flags to shut up errors to capture-pane and show-options, from George
...
Nachman.
2013-03-04 09:00:24 +00:00
Nicholas Marriott
208881a735
Send DSC 1000p at the beginning of a -CC client's lifetime and ST and the end,
...
from George Nachman..
2013-03-04 08:52:41 +00:00
Thomas Adam
a2f52d4224
Remove previous
2013-02-25 18:25:37 +00:00
Thomas Adam
2ccb67cae4
Plug small memory leak in run-shell
...
Don't potentially leak the command to run were it to fail.
2013-02-25 07:33:21 +00:00
Nicholas Marriott
b2a61348dd
Add -a to capture-pane to capture alternate screen, from George Nachman.
2013-02-24 07:52:03 +00:00
Nicholas Marriott
234f6d27c1
Use \\ not \ for escaping \.
2013-02-24 07:49:54 +00:00
Nicholas Marriott
f339cfd315
Add -A flag to new-session to make it behave like attach-session if the session
...
exists. If -A is used, -D behaves like -d to attach-session.
2013-02-24 00:43:28 +00:00
Nicholas Marriott
c5239c5984
Add resize-pane -Z to temporary zoom the active pane to occupy the full window
...
or unzoom (restored to the normal layout) if it already zoomed, bound to C-b z
by default. The pane is unzoomed on pretty much any excuse whatsoever.
We considered making this a new layout but the requirements are quite different
from layouts so decided it is better as a special case. Each current layout
cell is saved, a temporary one-cell layout generated and all except the active
pane set to NULL.
Prompted by suggestions and scripts from several. Thanks to Aaron Jensen and
Thiago Padilha for testing an earlier version.
2013-02-24 00:25:03 +00:00
Nicholas Marriott
be13479f09
Add a -o option to set-option to prevent setting an option already set, from
...
Thiago Padilha.
2013-02-23 23:22:03 +00:00
Nicholas Marriott
69a8d64716
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
...
Conflicts:
cmd-if-shell.c
cmd-run-shell.c
tmux.1
2013-02-23 22:42:49 +00:00
Nicholas Marriott
3964309c67
Add a command queue to standardize and simplify commands that call other
...
commands and allow a command to block execution of subsequent commands. This
allows run-shell and if-shell to be synchronous which has been much requested.
Each client has a default command queue and commands are consumed one at a time
from it. A command may suspend execution from the queue by returning
CMD_RETURN_WAIT and then resume it by calling cmd_continue() - for example
run-shell does this from the callback that is fired after the job is freed.
When the command queue becomes empty, command clients are automatically exited
(unless attaching). A callback is also fired - this is used for nested commands
in, for example, if-shell which can block execution of the client's cmdq until
a new cmdq becomes empty.
Also merge all the old error/info/print functions together and lose the old
curclient/cmdclient distinction - a cmdq is bound to one client (or none if in
the configuration file), this is a command client if c->session is NULL
otherwise an attached client.
2013-02-23 22:25:58 +00:00
Nicholas Marriott
243244d285
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
2013-02-23 19:26:12 +00:00
Nicholas Marriott
497b27dafb
Expand format variables in the run-shell and if-shell shell commands, from
...
Thiago Padilha.
2013-02-23 19:24:42 +00:00
Nicholas Marriott
ca6d9f799e
Tidy TODO and nuke stuff that is done in some form or not going to happen.
2013-02-23 15:52:56 +00:00
Nicholas Marriott
f1aa5f6a1d
Add to TODO.
2013-02-23 15:43:13 +00:00
Nicholas Marriott
dc50de782a
The visit -> Visit
2013-02-23 15:15:20 +00:00
Nicholas Marriott
2e85eeea37
www Project Page -> SourceForge Page
2013-02-23 14:51:56 +00:00
Nicholas Marriott
357da035b9
Merge send-prefix into send-keys.
2013-02-23 14:41:07 +00:00
Nicholas Marriott
5aa54c863d
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
2013-02-23 14:23:59 +00:00
Nicholas Marriott
42735d446e
Merge show-buffer into save-buffer.
2013-02-23 14:23:35 +00:00
Nicholas Marriott
57eb334d5b
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
2013-02-23 13:03:47 +00:00
Nicholas Marriott
5f904aa350
Add pane_tags format to format_window_pane based on code from George Nachman.
2013-02-23 13:02:52 +00:00
Nicholas Marriott
ee0f8adfac
Handle focus events from the terminal, from Aaron Jensen.
2013-02-23 10:01:34 +00:00
Nicholas Marriott
1ed37385c6
Use -O2 without debugging.
2013-02-22 23:37:55 +00:00
Nicholas Marriott
3a2e9d805a
Fix error reporting for client commands by adding a flag to cmd_find_client to
...
tell it whether or not to show errors, sometimes it's needed and sometimes not.
2013-02-22 23:04:53 +00:00
Nicholas Marriott
911ef4e69a
Allow display-message with no curclient.
2013-02-22 22:57:26 +00:00
Nicholas Marriott
1994ae4640
Missing PANE_RESIZE define.
2013-02-22 21:47:34 +00:00
Nicholas Marriott
dbd8e47846
Do pane resize ioctls once at the end of the server loop rather than
...
immediately.
2013-02-22 21:35:29 +00:00
Nicholas Marriott
ce7bf1083e
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
2013-02-22 16:25:50 +00:00
Nicholas Marriott
1db4ec6e63
Add pane_current_command format.
2013-02-22 16:25:21 +00:00
Nicholas Marriott
1c82cf7660
Remove a couple of FAQ bits that are out of date and not frequent.
2013-02-22 14:53:00 +00:00
Nicholas Marriott
e43fc6f08a
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
2013-02-22 14:32:33 +00:00
Nicholas Marriott
31407b70e0
Add option command-prefix which is automatically prepended to any command
...
(apart from a naked default-shell). The default is "exec ".
2013-02-22 14:31:38 +00:00
Nicholas Marriott
7d3c1016ce
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
2013-02-22 07:25:38 +00:00
Nicholas Marriott
4c9f9438ff
Add support for focus notifications when tmux pane changes, based on work by
...
Aaron Jensen.
2013-02-22 07:23:11 +00:00
Nicholas Marriott
374dae6635
Add a load of miscellaneous pane formats, from George Nachman.
2013-02-21 19:44:27 +00:00
Nicholas Marriott
8c50f625b0
Add session_set_current helper function, extracted from a diff from Aaron
...
Jensen.
2013-02-21 16:54:13 +00:00
Nicholas Marriott
6fc96978c2
Add to TODO.
2013-02-21 16:43:04 +00:00
Nicholas Marriott
8e3767e344
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
2013-02-21 09:37:06 +00:00
Nicholas Marriott
b8b5631d9d
Add -C and -J to capture pane to escape control sequences and to join wrapped
...
line, based on a diff from George Nachman.
2013-02-21 09:35:01 +00:00
Nicholas Marriott
c577b47cd5
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
2013-02-20 23:16:53 +00:00