aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
Commit message (Collapse)AuthorAge
...
* Support for multiple key tables to commands to be bound to sequences ofnicm2015-04-20
| | | | | | | keys. The default key bindings become the "prefix" table and -n the "root" table. Keys may be bound in new tables with bind -T and switch-client -T used to specify the table in which the next key should be looked up. Based on a diff from Keith Amling.
* Rewrite of tmux mouse support which was a mess. Instead of havingnicm2015-04-19
| | | | | | | | | | | | | | | | | | | | | | | | | options for "mouse-this" and "mouse-that", mouse events may be bound as keys and there is one option "mouse" that turns on mouse support entirely (set -g mouse on). See the new MOUSE SUPPORT section of the man page for description of the key names and new flags (-t= to specify the pane or window under mouse as a target, and send-keys -M to pass through a mouse event). The default builtin bindings for the mouse are: bind -n MouseDown1Pane select-pane -t=; send-keys -M bind -n MouseDown1Status select-window -t= bind -n MouseDrag1Pane copy-mode -M bind -n MouseDrag1Border resize-pane -M To get the effect of turning mode-mouse off, do: unbind -n MouseDrag1Pane unbind -temacs-copy MouseDrag1Pane The old mouse options are now gone, set-option -q may be used to suppress warnings if mixing configuration files.
* Support setting the default window and pane background colours (windownicm2015-04-19
| | | | | and active pane via window-style and window-active-style options, an individual pane by a new select-pane -P flag). From J Raynor.
* status_replace can now become local to status.c and it no longer needsnicm2015-02-06
| | | | | the jobsflag argument. While here there is no need to repeat work that format_defaults already does.
* Add format_expand_time and use it instead of status_replace wherenicm2015-02-06
| | | | command execution is not needed.
* Wrap all the individual format_* calls in a single format_defaultsnicm2015-02-05
| | | | functions.
* There is no need to save the guard state because the function checks itnicm2015-02-05
| | | | again anyway.
* Remove two unused arguments from status_replace.nicm2015-02-01
|
* Support blinking cursor mode, both the xterm CSI ?12 h/l and (thenicm2015-01-20
| | | | backwards) screen CSI 34 h/l. From Guanpeng Xu.
* Add pane_dead_status for exit status of dead panes.nicm2014-12-09
|
* Permit option values to be used in formats.nicm2014-12-02
|
* Remove dead code, from Thomas Adam.nicm2014-11-30
|
* Label windows which are smaller than expected with a reason.nicm2014-11-14
|
* Add V for select line with vi(1) keys. From Juho Pohjala.nicm2014-11-06
|
* Move cfg_causes local into cfg.c and remove struct causelist.nicm2014-10-27
|
* Merge unlink-window into kill-window.nicm2014-10-22
|
* Only redraw pane when it has actually changed.nicm2014-10-21
|
* Better format for printf format attributes.nicm2014-10-20
|
* Move template defines back into .c files.nicm2014-10-20
|
* Tidy up some includes.nicm2014-10-20
|
* Instead of setting up the default keys by building the key structnicm2014-10-20
| | | | | | | | | directly with a helper function in the cmd_entry, include a table of bind-key commands and pass them through the command parser and a temporary cmd_q. As well as being smaller, this will allow default bindings to be command sequences which will probably be needed soon.
* Add xreallocarray and remove nmemb argument from xrealloc.nicm2014-10-08
|
* Wake up any clients waiting with the wait-for command when the servernicm2014-09-01
| | | | exits.
* Various minor style and spacing nits.nicm2014-09-01
|
* Fix two copy mode problems:nicm2014-08-11
| | | | | | | | | 1. In vi mode the selection doesn't include the last character if you moved the cursor up or left. 2. In emacs mode the selection includes the last character if you moved the cursor to the left. From Balazs Kezes.
* Add flags to selectp to enable and disable input to a pane, from Anishnicm2014-08-11
| | | | Athalye.
* Remove support for the continuous reporting "any" mouse mode which nevernicm2014-08-09
| | | | really worked properly and is rarely used.
* Drop explicit support for F13-F20 and change to match the xterm terminfonicm2014-07-21
| | | | | | | | | | | | | entry: F13-F24 are S-F1 to S-F12 F25-F36 are C-F1 to C-F12 F37-F48 are C-S-F1 to C-S-F12 F49-F60 are M-F1 to M-F12 and F61-F63 are M-S-F1 to M-S-F3 This should be no difference for applications inside tmux, but means that any key binding for F13 will need to be replaced by S-F1 and so on.
* Properly track switching G0 and G1 modes between US-ASCII and VT100 linenicm2014-06-06
| | | | drawing rather than just treating them as SO and SI.
* Now that cmdlists are reference counted, there is no need for two-stepnicm2014-05-14
| | | | deletion via the dead_key_bindings tree. From Keith Amling.
* If multiple arguments are given to new-session, new-window,nicm2014-05-13
| | | | | | split-window, respawn-window or respawn-pane, pass them directly to execvp() to help avoid quoting problems. One argument still goes to "sh -c" like before. Requested by many over the years. Patch from J Raynor.
* Add a copy mode key binding to copy to a named buffer. From J Raynor.nicm2014-05-13
|
* Add support for named buffers. If you don't name a buffer, things worknicm2014-05-13
| | | | | | | | much as before - buffers are automatically named "buffer0000", "buffer0001" and so on and ordered as a stack. Buffers can be named explicitly when creating ("loadb -b foo" etc) or renamed ("setb -b buffer0000 -n foo"). If buffers are named explicitly, they are not deleted when buffer-limit is reached. Diff from J Raynor.
* Just use char ** for argv like normal people, not char *const *.nicm2014-05-09
|
* Instead of forcing mouse scroll to 1 in choose mode, scale it downnicm2014-05-08
| | | | | instead. Means modifier keys still increase the line count, just not as much. Based on a diff from Marcel Partap.
* Both the two previous ways of navigating panes by direction havenicm2014-05-08
| | | | | | | | | | | | | | | | irritating flaws: a) The old way of always using the top or left if the choice is ambiguous is annoying when the layout is unbalanced. b) The new way of remembering the last used pane is annoying if the layout is balanced and the leftmost is obvious to the user (because clearly if we go right from the top-left in a tiled set of four we want to end up in top-right, even if we were last using the bottom-right). So instead, use a combination of both: if there is only one possible pane alongside the current pane, move to it, otherwise choose the most recently used of the choice.
* There is no longer a need for a paste_stack struct or for global_buffersnicm2014-04-24
| | | | to be global. Move to paste.c.
* Add some UTF-8 utility functions and use them to prevent the width limitnicm2014-04-17
| | | | on formats from splitting UTF-8 characters improperly.
* Set PATH explicitly, either from client or sessionnicm2014-04-17
| | | | | environment. Previously it came from the session environment. From J Raynor.
* Don't limit the DCS buffer to 256 bytes, expand it as needed. Requestednicm2014-04-17
| | | | by Suraj Kurapati.
* Correct the dance to fix the active pane in join-pane by pulling thenicm2014-04-17
| | | | | (right) code from break-pane and window_remove_pane into a helper function.
* Remove the "info" message mechanism, this was only used for about fivenicm2014-04-17
| | | | | | mostly useless and annoying messages. Change those commands to silence on success like all the others. Still accept the -q command line flag and "quiet" server option for now.
* Remove the monitor-content option and associated bits and bobs. It'snicm2014-04-17
| | | | | never worked very well. If there is a big demand for it to return, will consider better ways to do it.
* Remove a leftover prototype and fix some spacing.nicm2014-04-16
|
* Remove the choose-list command to prepare for some later choose-* work.nicm2014-04-16
|
* Work out mouse scroll wheel effect when the mouse is first detected andnicm2014-04-03
| | | | | | | store it in struct mouse_event, reduce the scroll size the 3 but allow shift to reduce it to 1 and meta and ctrl to multiply by 3 if the terminal supports them, also support wheel in choose mode. From Marcel Partap.
* Support UTF-8 with choose-buffer, from Kosuke ASAMI. Also makenicm2014-04-02
| | | | buffer_sample bigger to let it trim at window right edge.
* missed commit matching log.cderaadt2014-04-01
|
* GRID_DEBUG is no longer needed.nicm2014-03-31
|
* Remove unused log functions.nicm2014-03-31
|