summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.h
AgeCommit message (Collapse)Author
2015-06-07Add -E flag when attaching or switching client to bypassNicholas Marriott
update-environment, from Steven Lu.
2015-06-05Handle the RGB colour escape sequence (\033[38;2;<r>;<g>;<b>m and 48;2)Nicholas Marriott
like xterm(1) does, by mapping to the nearest in the 256 colour palette.
2015-06-05Similarly, for sessions use a callback to free rather than checkingNicholas Marriott
every loop.
2015-06-05Change deref to the more sensible unref, and add a couple I missed before.Nicholas Marriott
2015-06-05Instead of putting dead clients on a list and checking it every loop,Nicholas Marriott
use event_once to queue a callback to deal with them. Also dead clients with references would never actually be freed because the wrap-up functions (the callback for stdin, or status_prompt_clear) would never be called. So call them in server_client_lost.
2015-06-04Move the nested check from client to server and compare the client ttyNicholas Marriott
name to all the pane pty names instead of comparing socket paths. This means that "new -d" will work without unsetting $TMUX.
2015-06-04Add support for a single "marked pane". There is one marked pane in theNicholas Marriott
server at a time; it may be toggled or cleared with select-pane -m and -M (the border is highlighted). A new target '~' or '{marked}' specifies the marked pane to commands and it is the default target for the swap-pane and join-pane -s flag (this makes them much simpler to use - mark the source pane and then change to the target pane to run swapp or joinp).
2015-05-27Move the jobs output cache into the formats code so that #() work moreNicholas Marriott
generally (for example, again working in set-titles-string).
2015-05-12To replace c0-*, add a high watermark to the pty event, and also backoffNicholas Marriott
when the any of the ttys the pane is going to write to has buffered enough data.
2015-05-12Add bell-action "other" to pass through bells in all windows except theNicholas Marriott
current, suggested by Jan ONDREJ.
2015-05-11Remove the c0-* options which never really worked satisfactorily. GoingNicholas Marriott
to try something else...
2015-05-08Put the tty structs together, and tabify.Nicholas Marriott
2015-05-08grid_marker_cell is no longer used.Nicholas Marriott
2015-05-08mode_key_entry can go into mode-key.c; also a few spaces->tabs.Nicholas Marriott
2015-05-08window_choose_mode_item can move into window-choose.c.Nicholas Marriott
2015-05-08Move input parser structs into input.c (removing fairly uselessNicholas Marriott
saved_cursor_[xy] formats as a side-effect).
2015-05-07array.h can be local to window-choose.c now.Nicholas Marriott
2015-05-06Remove ARRAY_* from history and expand completion to complete a) layoutNicholas Marriott
names and b) targets beginning with -t or -s.
2015-05-06Add a format window_linked which is 1 if a window has been linkedNicholas Marriott
multiple times, also remove the default space in window_flags and use a conditional to add it in window-status-format (this means additional flags can be added in the option without extra spaces). From Thomas Adam with tweaks by me.
2015-04-28Add select-layout -o to undo the last layout change (apply the previouslyNicholas Marriott
set layout).
2015-04-27Rewrite of the target resolution internals to be simpler and moreNicholas Marriott
consistent but with much less duplication, but keeping the same internal API. Also adds more readable aliases for some of the special tokens used in targets (eg "{start}" instead of "^"). Some behaviours may have changed, for example prefix matches now happen before fnmatch.
2015-04-25Make message log a TAILQ.Nicholas Marriott
2015-04-25Move the functions to convert ids from strings into session.c and window.c.Nicholas Marriott
2015-04-24Convert clients list into a TAILQ.Nicholas Marriott
2015-04-24Set working directory for run-shell and if-shell.Nicholas Marriott
2015-04-22Make session_has return a flag, returning the first winlink found is aNicholas Marriott
recipe for errors.
2015-04-22Change the windows array into an RB tree and fix some places where weNicholas Marriott
were only looking at the first winlink for a window in a session.
2015-04-22window_index is only used in one place (window_destroy) so inline it there.Nicholas Marriott
2015-04-21Always format real layout even when zoomed.Nicholas Marriott
2015-04-20Support for multiple key tables to commands to be bound to sequences ofNicholas Marriott
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.
2015-04-19Rewrite of tmux mouse support which was a mess. Instead of havingNicholas Marriott
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.
2015-04-19Support setting the default window and pane background colours (windowNicholas Marriott
and active pane via window-style and window-active-style options, an individual pane by a new select-pane -P flag). From J Raynor.
2015-02-06status_replace can now become local to status.c and it no longer needsNicholas Marriott
the jobsflag argument. While here there is no need to repeat work that format_defaults already does.
2015-02-06Add format_expand_time and use it instead of status_replace whereNicholas Marriott
command execution is not needed.
2015-02-05Wrap all the individual format_* calls in a single format_defaultsNicholas Marriott
functions.
2015-02-05There is no need to save the guard state because the function checks itNicholas Marriott
again anyway.
2015-02-01Remove two unused arguments from status_replace.Nicholas Marriott
2015-01-20Support blinking cursor mode, both the xterm CSI ?12 h/l and (theNicholas Marriott
backwards) screen CSI 34 h/l. From Guanpeng Xu.
2014-12-09Add pane_dead_status for exit status of dead panes.Nicholas Marriott
2014-12-02Permit option values to be used in formats.Nicholas Marriott
2014-11-30Remove dead code, from Thomas Adam.Nicholas Marriott
2014-11-14Label windows which are smaller than expected with a reason.Nicholas Marriott
2014-11-06Add V for select line with vi(1) keys. From Juho Pohjala.Nicholas Marriott
2014-10-27Move cfg_causes local into cfg.c and remove struct causelist.Nicholas Marriott
2014-10-22Merge unlink-window into kill-window.Nicholas Marriott
2014-10-21Only redraw pane when it has actually changed.Nicholas Marriott
2014-10-20Better format for printf format attributes.Nicholas Marriott
2014-10-20Move template defines back into .c files.Nicholas Marriott
2014-10-20Tidy up some includes.Nicholas Marriott
2014-10-20Instead of setting up the default keys by building the key structNicholas Marriott
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.