summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2013-03-25Do not leak command in formats, from Romain Francoise.Nicholas Marriott
2013-03-25Add some additional debug logging.Nicholas Marriott
2013-03-25Continue the parent cmdq after sourcing a file.Nicholas Marriott
2013-03-25Preserve trailing spaces with capture-pane -J, from George Nachman.Nicholas Marriott
2013-03-25tty.path can be NULL, don't dereference it. From George Nachman.Nicholas Marriott
2013-03-25Remove some unused/unnecessary control notifications, from George Nachman.Nicholas Marriott
2013-03-25Add -q flags to shut up errors to capture-pane and show-options, fromNicholas Marriott
George Nachman.
2013-03-25Send DSC 1000p at the beginning of a -CC client's lifetime and ST andNicholas Marriott
the end, from George Nachman.
2013-03-25Remove previous.Nicholas Marriott
2013-03-24Add -A flag to new-session to make it behave like attach-session if theNicholas Marriott
session exists. If -A is used, -D behaves like -d to attach-session.
2013-03-24Add resize-pane -Z to temporary zoom the active pane to occupy the fullNicholas Marriott
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-03-24Add a -o option to set-option to prevent setting an option already set,Nicholas Marriott
from Thiago Padilha.
2013-03-24Add a command queue to standardize and simplify commands that call otherNicholas Marriott
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-03-24Expand format variables in the run-shell and if-shell shell commands,Nicholas Marriott
from Thiago Padilha.
2013-03-24Add pane_tabs format to format_window_pane based on code from GeorgeNicholas Marriott
Nachman.
2013-03-24Handle focus events from the terminal, from Aaron Jensen.Nicholas Marriott
2013-03-24Fix error reporting for client commands by adding a flag toNicholas Marriott
cmd_find_client to tell it whether or not to show errors, sometimes it's needed and sometimes not.
2013-03-24Do pane resize ioctls once at the end of the server loop rather thanNicholas Marriott
immediately.
2013-03-24Add option command-prefix which is automatically prepended to anyNicholas Marriott
command (apart from a naked default-shell). The default is "exec ".
2013-03-24Add support for focus notifications when tmux pane changes, based onNicholas Marriott
work by Aaron Jensen.
2013-03-22Couple of fixes pointed out by jmc.Nicholas Marriott
2013-03-22Add a load of miscellaneous pane formats, from George Nachman.Nicholas Marriott
2013-03-22Add session_set_current helper function, extracted from a diff fromNicholas Marriott
Aaron Jensen.
2013-03-22Add -C and -J to capture pane to escape control sequences and to joinNicholas Marriott
wrapped line, based on a diff from George Nachman.
2013-03-22evbuffer_readline returns allocated storage, don't leak it.Nicholas Marriott
2013-03-22Need to set clients in context before changing their reference count.Nicholas Marriott
2013-03-22Fix so capture-pane/save-buffer can work in control clients, from GeorgeNicholas Marriott
Nachman.
2013-03-22Add copy-pipe mode command to copy selection and also pipe to a command.Nicholas Marriott
2013-03-22Add -e flag to capture-pane to include embedded ANSI SGR escapeNicholas Marriott
sequences, from George Nachman.
2013-03-22Don't use a target-client for stdout, just always cmdclient.Nicholas Marriott
2013-03-22Remove unnecessary initializers of cmd_ctx.Nicholas Marriott
2013-03-22load_cfg can actually use the same context now they are reference counted.Nicholas Marriott
2013-03-22Add functions to allocate and free command contexts rather than doing itNicholas Marriott
all on the stack.
2013-03-22Prevent lock on control clients, not on others.Nicholas Marriott
2013-03-22Don't try to print unterminated strings when loading configuration file.Nicholas Marriott
2013-03-22Unbreak line wrapping.Nicholas Marriott
2013-03-22Use tty_raw on stop, not tty_puts.Nicholas Marriott
2013-03-22Don't hang when clearing line in choose mode now that the cursor staysNicholas Marriott
at the end with wrap.
2013-03-22Fix double space in sessions template.Nicholas Marriott
2013-03-22Add resize-pane -x and -y for absolute pane size (much requested).Nicholas Marriott
2013-03-22Implement DECAWM (SM/RM 7) using existing MODE_WRAP flag.Nicholas Marriott
2013-03-22Correctly handle UTF8 mouse option being toggled, from Egmont Koblinger.Nicholas Marriott
2013-03-22Support the latest theory for mouse input, this is enabled/disabled withNicholas Marriott
SM/RM 1006 and is similar in style to SGR input: \033[<b;x;yM or \033[b;x;ym. From Egmont Koblinger.
2013-03-22Add client_session and client_last_session formats.Nicholas Marriott
2013-03-22No more lint means no more ARGSUSED.Nicholas Marriott
2013-03-22In terminals with XT, turn on modifyOtherKeys=1 with the escape sequenceNicholas Marriott
and handle the most common set. Pass them through if xterm-keys is on.
2013-03-21Instead of loads of little screen_write_*_on and off functions whichNicholas Marriott
just change mode flags, just have screen_write_mode_set and screen_write_mode_clear.
2013-03-21Add various checks to turn off bits that can't work in control modeNicholas Marriott
(such as lock).
2013-03-21Do not include status line in size calculations in control mode.Nicholas Marriott
2013-03-21Don't set key KEYC_NONE on xterm_keys_find match()Nicholas Marriott
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