summaryrefslogtreecommitdiffstats
path: root/tmux.h
AgeCommit message (Collapse)Author
2019-05-28Merge branch 'obsd-master'Thomas Adam
2019-05-28Change display-menu from taking a single string to a set of arguments,nicm
which is much easier to work with. Based on a diff from Avi Halachmi.
2019-05-26Merge branch 'obsd-master'Thomas Adam
2019-05-26Add formats for word and line under the mouse and use them to add somenicm
items to the pane menu.
2019-05-25Merge branch 'obsd-master'Thomas Adam
2019-05-25Merge cmd_list_parse into cmd-parse.y so it can use the new aliasnicm
processing code.
2019-05-25Make cmd_log_argv take a printf-like format for the prefix.nicm
2019-05-23Merge branch 'obsd-master'Thomas Adam
2019-05-23Break the argument escaping code into a separate function and use it tonicm
escape key bindings in list-keys. Also escape ~ and ; and $ properly.
2019-05-23Merge branch 'obsd-master'Thomas Adam
2019-05-23Replace the split parser code (cfg.c and cmd-string.c) with a singlenicm
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-20Merge branch 'obsd-master'Thomas Adam
2019-05-20Fix ordering of source-file with multiple files and add flags to load_cfg.nicm
2019-05-20Replace the various identical error callbacks with a single one in cmd-queue.c.nicm
2019-05-18Merge branch 'obsd-master'Thomas Adam
2019-05-18Move the single command flag (CMD_CONTROL) into the shared flags.nicm
2019-05-13Merge branch 'obsd-master'Thomas Adam
2019-05-13Add support for overline (SGR 53), from Ricardo Banffy.nicm
2019-05-12Merge branch 'obsd-master'Thomas Adam
2019-05-12Add simple menus to tree, client, buffer modes.nicm
2019-05-12Merge branch 'obsd-master'Thomas Adam
2019-05-12Remove menu_create_from_items, I thought I would use it for some laternicm
work but I don't need it.
2019-05-10Merge branch 'obsd-master'Thomas Adam
2019-05-10Add support for simple menus usable with mouse or keyboard. New commandnicm
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-10Merge branch 'obsd-master'Thomas Adam
2019-05-10Add a function to draw a simple menu onto a screen.nicm
2019-05-09Merge branch 'obsd-master'Thomas Adam
2019-05-09Save mouse buttons as well as position.nicm
2019-05-09Merge branch 'obsd-master'Thomas Adam
2019-05-09send-keys also needs to insert key commands in the right order.nicm
2019-05-08Merge branch 'obsd-master'Thomas Adam
2019-05-08Add a flag to redraw only the overlay, and remove the overlay on resize.nicm
2019-05-07Merge branch 'obsd-master'Thomas Adam
2019-05-07Move around the display-panes identify code to make it a bit morenicm
generic and hide the display-panes specific bits into cmd-display-panes.c.
2019-05-07Merge branch 'obsd-master'Thomas Adam
2019-05-07Treat keys in identify mode (display-panes) specially and handle themnicm
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'tnicm
work in newer libevent.
2019-05-03Merge branch 'obsd-master'Thomas Adam
2019-05-03Allow panes to be empty (no command), output can be piped to them withnicm
split-window or display-message -I.
2019-05-03Merge branch 'obsd-master'Thomas Adam
2019-05-03Correct ordering when adding after an existing item.nicm
2019-05-03Instead of processing keys all together, put them up on the clientnicm
command queue so they are ordered correctly with the commands that they execute.
2019-04-28Merge branch 'obsd-master'Thomas Adam
2019-04-28Support multiple occurances of the same argument. Use this for a newnicm
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-27Merge branch 'obsd-master'Thomas Adam
2019-04-26Merge hooks into options and make each one an array option. This allowsnicm
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-25Merge branch 'obsd-master'Thomas Adam
2019-04-25Make options_tostring allocate its result instead of using a stacknicm
buffer (needed for something in the future).
2019-04-23Merge branch 'obsd-master'Thomas Adam
2019-04-23Indicate an array option with a flag rather than a special type so thatnicm
in future will not have to be strings.