| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
2317.
|
| |
|
|
|
|
| |
more explicit and fix M- keys with a leading escape.
|
|
|
|
|
| |
includes adding a brief description of each option. Bound to "C" by
default.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
with newer GCC. From Ben Boeckel.
|
| |
|
|
|
|
| |
GitHub issue 1810.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
escape key bindings in list-keys. Also escape ~ and ; and $ properly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
buffer (needed for something in the future).
|
|
|
|
| |
in future will not have to be strings.
|
|
|
|
|
| |
favour of -style), undocumented and hidden from show-options since
2014. Remove them, except for status-fg and status-bg.
|
|
|
|
| |
remove the size limit.
|
| |
|
|
|
|
| |
grid_cell directly. There will be some non-cell members soon.
|
|
|
|
| |
have multiple panes.
|
| |
|
| |
|
| |
|
|
|
|
| |
not string.
|
|
|
|
|
|
| |
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).
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
from the parent (global) tree, instead make it remove by name like options.
While here, also tidy up a few bits of options and hooks handling (use
RB_FOREACH_SAFE, and a helper function for the free).
|
| |
|
|
|
|
| |
of xrealloc, xvasprintf, xvsnprintf.
|
| |
|