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