Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-06-17 | Check cursor options when a pane is created, not just when they are changed. | nicm | |
2022-03-16 | Add an option to set the character used for unused areas of the | nicm | |
terminal, GitHub issue 3110. | |||
2021-11-03 | Add a cursor-style option, from Alexis Hildebrandt in GitHub issue 2960. | nicm | |
2021-11-01 | Add a cursor-colour option, from Alexis Hildebrandt in GitHub issue | nicm | |
2959. | |||
2021-10-14 | Add popup-border-lines option to set popup line style, from Alexis | nicm | |
Hildebrandt, GitHub issue 2930. | |||
2021-08-21 | Stop caring about empty commands, just treat as a null command. | nicm | |
2021-08-11 | Break the colour palette into a struct rather than just a single array | nicm | |
and use that to support the OSC palette-setting sequences in popups. Also add a pane-colours array option to specify the defaults. GitHub issue 2815. | |||
2021-03-11 | Add split-window -Z to start the pane zoomed, GitHub issue 2591. | nicm | |
2021-01-18 | Hide some warnings on newer GCC versions, GitHUb issue 2525. | nicm | |
2020-08-25 | Allow colour to be spelt as color, from Boris Verkhovsky. GitHub issue | nicm | |
2317. | |||
2020-06-16 | d and D keys to reset to default in customize mode. | nicm | |
2020-05-16 | Separate key flags and modifiers, log key flags, make the "xterm" flag | nicm | |
more explicit and fix M- keys with a leading escape. | |||
2020-05-16 | Add a customize mode where keys and options may be browsed and changed, | nicm | |
includes adding a brief description of each option. Bound to "C" by default. | |||
2020-05-16 | Drop having a separate type for style options and make them all strings, | nicm | |
which allows formats to be expanded. Any styles without a '#{' are still validated when they are set but any with a '#{' are not. Formats are not expanded usefully in many cases yet, that will be changed later. To make this work, a few other changes: - set-option -a with a style option automatically appends a ",". - OSC 10 and 11 don't set the window-style option anymore, instead the fg and bg are stored in the pane struct and act as the defaults that can be overridden by window-style. - status-fg and -bg now override status-style instead of trying to keep them in sync. | |||
2019-12-03 | Style nits in function arguments. | nicm | |
2019-10-15 | Rewrite options_array_set to be clearer and remove a spurious warning | nicm | |
with newer GCC. From Ben Boeckel. | |||
2019-10-14 | Memory leaks, from Igor Wong in GitHub issue 1934. | nicm | |
2019-06-23 | Do not always set scope for panes because the window check might fail, | nicm | |
GitHub issue 1810. | |||
2019-06-20 | FIx return of options_scope_from_name on error. | nicm | |
2019-06-20 | Add a per-pane option set. Pane options inherit from window options (so | nicm | |
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-20 | Add a helper function to work out option table from name. | nicm | |
2019-06-08 | Do not try to parse command when unsetting, GitHub issue 1788. | nicm | |
2019-05-30 | Remove a leftover abort and some fixes from cppcheck. | nicm | |
2019-05-23 | Break the argument escaping code into a separate function and use it to | nicm | |
escape key bindings in list-keys. Also escape ~ and ; and $ properly. | |||
2019-05-23 | Replace the split parser code (cfg.c and cmd-string.c) with a single | nicm | |
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-12 | Fix some indentation and dead assignments. | nicm | |
2019-04-26 | Merge hooks into options and make each one an array option. This allows | nicm | |
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-25 | Make options_tostring allocate its result instead of using a stack | nicm | |
buffer (needed for something in the future). | |||
2019-04-23 | Indicate an array option with a flag rather than a special type so that | nicm | |
in future will not have to be strings. | |||
2019-03-18 | The individual -fg, -bg and -attr options have been deprecated (in | nicm | |
favour of -style), undocumented and hidden from show-options since 2014. Remove them, except for status-fg and status-bg. | |||
2019-03-18 | Make array options a sparse tree instead of an array of char * and | nicm | |
remove the size limit. | |||
2019-03-15 | Add a way to set individual defaults for an array option. | nicm | |
2019-03-14 | Add a wrapper (struct style) around styles rather than using the | nicm | |
grid_cell directly. There will be some non-cell members soon. | |||
2017-08-09 | Fix filtering so it works after the change to only show windows if they | nicm | |
have multiple panes. | |||
2017-05-31 | Style and spacing nits. | nicm | |
2017-04-22 | Memory leaks, from David CARLIER. | nicm | |
2017-03-08 | Handle empty options correctly. | nicm | |
2017-01-30 | When a flag option is used in a format, it should use the number form | nicm | |
not string. | |||
2017-01-24 | If given an array option without an index either show or set all items, | nicm | |
and support -a for array options. Allow the separator for set to be specified in the options table (will be used for backwards compatibility later). | |||
2017-01-18 | Do not reset idx, it has just been set. | nicm | |
2017-01-18 | options_match needs to explicitly check for user options. | nicm | |
2017-01-16 | Correctly handle -style options without all of a corresponding -fg/-bg/-attr. | nicm | |
2017-01-16 | getopt() has a struct option so just return to using options_entry. | nicm | |
2017-01-15 | Major tidy up and rework of options tree and set-option/show-options | nicm | |
commands this pushes more of the code into options.c and ties it more closely to the options table rather than having an unnecessary split. Also add support for array options (will be used later). Only (intentional) user visible change is that show-options output is now passed through vis(3) with VIS_DQ so quotes are escaped. | |||
2017-01-15 | Append needs to go old,new not new,old... | nicm | |
2017-01-13 | options_get_style return const too. | nicm | |
2017-01-12 | Simplify appending to string options. | nicm | |
2017-01-11 | Some tidying and tweaks to options code. | nicm | |
2016-10-10 | Loads more static, except for cmd-*.c and window-*.c. | nicm | |
2016-09-26 | Support set -a (append) with user options, suggested by Xandor Schiefer. | nicm | |