summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.h
AgeCommit message (Collapse)Author
2019-08-05Add support for the SD (scroll down) escape sequence, GitHub issue 1861.Nicholas Marriott
2019-07-15Make layout_fix_offsets take a window like layout_fix_panes.Nicholas Marriott
2019-07-10Add -F to refresh-client to specify flags for control clients - one flagNicholas Marriott
at the moment, no-output which turns off forwarding pane output. From Thomas Adam. GitHub issue 1834.
2019-07-09Add a -H flag to send-keys to send literal keys given as hex numbersNicholas Marriott
(needed for control clients to send mouse sequences). Also add some format flags for UTF-8 and SGR mouse mode. Requested by Bradley Smith in GitHub issues 1832 and 1833.
2019-07-06Correctly clear underscore colour in grid_get_cell1, also fix structNicholas Marriott
grid_cell to avoid padding. Fixes increased memory use reported by Suraj N Kurapati.
2019-07-01Add a "fill" style attribute to clear the entire format drawing area inNicholas Marriott
a colour, GitHub issue 1815.
2019-06-30Do not double free window if pane fails to start.Nicholas Marriott
2019-06-27Add support for underscore colours with Setulc capability, mostly fromNicholas Marriott
Kai Moschcau.
2019-06-26Add #define for the pane status line option position numbers.Nicholas Marriott
2019-06-20Add a per-pane option set. Pane options inherit from window options (soNicholas Marriott
there should be no change to existing behaviour) and are set and shown with set-option -p and show-options -p. Change remain-on-exit and window-style/window-active-style to be pane options (some others will be changed later). This makes select-pane -P and -g unnecessary so no longer document them (they still work) and no longer document set-window-option and show-window-options in favour of set-option -w and show-options -w.
2019-06-20Add a helper function to work out option table from name.Nicholas Marriott
2019-06-18Add a cmdq_continue function rather than twiddling the flag directly.Nicholas Marriott
2019-06-13Add regular expression support for the format search, match andNicholas Marriott
substitute modifiers.
2019-06-07Do not load the config file if the server is exiting because it failedNicholas Marriott
to start, otherwise commands like lsk which start the server again can end up looping infinitely. Also make the first client exit correctly. Problem reported by Wael M Nasreddine.
2019-06-05Add a -v flag to source-file to show the commands and line numbers.Nicholas Marriott
2019-06-03Add new-session -X and attach-session -x to send SIGHUP to parent whenNicholas Marriott
detaching (like detach-client -P). From Colin Watson in GitHub issue 1773.
2019-05-28Change display-menu from taking a single string to a set of arguments,Nicholas Marriott
which is much easier to work with. Based on a diff from Avi Halachmi.
2019-05-26Add formats for word and line under the mouse and use them to add someNicholas Marriott
items to the pane menu.
2019-05-25Merge cmd_list_parse into cmd-parse.y so it can use the new aliasNicholas Marriott
processing code.
2019-05-25Make cmd_log_argv take a printf-like format for the prefix.Nicholas Marriott
2019-05-23Break the argument escaping code into a separate function and use it toNicholas Marriott
escape key bindings in list-keys. Also escape ~ and ; and $ properly.
2019-05-23Replace the split parser code (cfg.c and cmd-string.c) with a singleNicholas Marriott
parser using yacc(1). This is a major change but is clearer and simpler and allows some edge cases to be made more consistent, as well as tidying up how aliases are handled. It will also allow some further improvements later. Entirely the same parser is now used for parsing the configuration file and for string commands. This means that constructs previously only available in .tmux.conf, such as %if, can now be used in string commands (for example, those given to if-shell - not commands invoked from the shell, they are still parsed by the shell itself). The only syntax change I am aware of is that #{} outside quotes or a comment is now considered a format and not a comment, so #{ is now a syntax error (notably, if it is at the start of a line). This also adds two new sections to the man page documenting the syntax and outlining how parsing and command execution works. Thanks to everyone who sent me test configs (they still all parse without errors - but this doesn't mean they still work as intended!). Thanks to Avi Halachmi for testing and man page improvements, also to jmc@ for reviewing the man page changes.
2019-05-20Fix ordering of source-file with multiple files and add flags to load_cfg.Nicholas Marriott
2019-05-20Replace the various identical error callbacks with a single one in cmd-queue.c.Nicholas Marriott
2019-05-18Move the single command flag (CMD_CONTROL) into the shared flags.Nicholas Marriott
2019-05-13Add support for overline (SGR 53), from Ricardo Banffy.Nicholas Marriott
2019-05-12Add simple menus to tree, client, buffer modes.Nicholas Marriott
2019-05-12Remove menu_create_from_items, I thought I would use it for some laterNicholas Marriott
work but I don't need it.
2019-05-10Add support for simple menus usable with mouse or keyboard. New commandNicholas Marriott
display-menu shows a menu (bound to the mouse on status line by default) and a couple of extra formats for the default menus.
2019-05-10Add a function to draw a simple menu onto a screen.Nicholas Marriott
2019-05-09Save mouse buttons as well as position.Nicholas Marriott
2019-05-09send-keys also needs to insert key commands in the right order.Nicholas Marriott
2019-05-08Add a flag to redraw only the overlay, and remove the overlay on resize.Nicholas Marriott
2019-05-07Move around the display-panes identify code to make it a bit moreNicholas Marriott
generic and hide the display-panes specific bits into cmd-display-panes.c.
2019-05-07Treat keys in identify mode (display-panes) specially and handle themNicholas Marriott
immediately rather than queuing them (the command can block the queue which means they were not being seen until it finished which was too late). Reported by denis@ and solene@, ok solene@.
2019-05-07Do not use evbuffer_add_buffer because it is destructive and doesn'tNicholas Marriott
work in newer libevent.
2019-05-03Allow panes to be empty (no command), output can be piped to them withNicholas Marriott
split-window or display-message -I.
2019-05-03Correct ordering when adding after an existing item.Nicholas Marriott
2019-05-03Instead of processing keys all together, put them up on the clientNicholas Marriott
command queue so they are ordered correctly with the commands that they execute.
2019-04-28Support multiple occurances of the same argument. Use this for a newNicholas Marriott
flag -e to new-window, split-window, respawn-window, respawn-pane to pass environment variables into the newly created process. From Steffen Christgau in GitHub issue 1697.
2019-04-26Merge hooks into options and make each one an array option. This allowsNicholas Marriott
multiple commands to be easily bound to one hook. set-hook and show-hooks remain but they are now variants of set-option and show-options. show-options now has a -H flag to show hooks (by default they are not shown).
2019-04-25Make options_tostring allocate its result instead of using a stackNicholas Marriott
buffer (needed for something in the future).
2019-04-23Indicate an array option with a flag rather than a special type so thatNicholas Marriott
in future will not have to be strings.
2019-04-17Break new window and pane creation common code from various commands andNicholas Marriott
window.c into a separate file spawn.c.
2019-04-02Add an argument to copy commands to set the prefix for the buffer name,Nicholas Marriott
allows buffers for different sessions to be named separately.
2019-04-02Store and restore cursor across reflow by working out a position basedNicholas Marriott
on unwrapped lines, rather than a grid offset. Fixes problems reported by Thomas Sattler and Paul de Weerd.
2019-03-25Add StatusDefault binding for the mouse on any otherwise unassignedNicholas Marriott
parts of the status line, from Avi Halachmi.
2019-03-20Improve cursor positioning after reflow by storing the position as anNicholas Marriott
offset into the entire history before reflow and restoring it aftewards.
2019-03-18The individual -fg, -bg and -attr options have been deprecated (inNicholas Marriott
favour of -style), undocumented and hidden from show-options since 2014. Remove them, except for status-fg and status-bg.
2019-03-18Extend the #[] style syntax and use that together with previous formatNicholas Marriott
changes to allow the status line to be entirely configured with a single option. Now that it is possible to configure their content, enable the existing code that lets the status line be multiple lines in height. The status option can now take a value of 2, 3, 4 or 5 (as well as the previous on or off) to configure more than one line. The new status-format array option configures the format of each line, the default just references the existing status-* options, although some of the more obscure status options may be eliminated in time. Additions to the #[] syntax are: "align" to specify alignment (left, centre, right), "list" for the window list and "range" to configure ranges of text for the mouse bindings. The "align" keyword can also be used to specify alignment of entries in tree mode and the pane status lines.