#
e4c0b811 |
| 25-Aug-2021 |
nicm <nicm@openbsd.org> |
Validate command argument types (string or command list) and give more useful error messages.
|
#
a51dead1 |
| 21-Aug-2021 |
nicm <nicm@openbsd.org> |
Add args parsing callback for some future work, currently unused.
|
#
1693b10b |
| 20-Aug-2021 |
nicm <nicm@openbsd.org> |
Hide struct args behind a couple of accessor functions.
|
#
8367f274 |
| 15-Dec-2020 |
nicm <nicm@openbsd.org> |
Make synchronize-panes a pane option and add -U flag to set-option to unset an option on all panes. GitHub issue 2491 from Rostislav Nesin.
|
#
94c0d63c |
| 16-Jun-2020 |
nicm <nicm@openbsd.org> |
d and D keys to reset to default in customize mode.
|
#
061703b1 |
| 16-May-2020 |
nicm <nicm@openbsd.org> |
Move lazy resize from the pane to the window, there is no point in resizing the window unless it is the current window, and if we do and don't resize the pane until later there are problems if the si
Move lazy resize from the pane to the window, there is no point in resizing the window unless it is the current window, and if we do and don't resize the pane until later there are problems if the size changes from A to B then back to A.
show more ...
|
#
67c16a7c |
| 16-May-2020 |
nicm <nicm@openbsd.org> |
Add a customize mode where keys and options may be browsed and changed, includes adding a brief description of each option. Bound to "C" by default.
|
#
01c0c428 |
| 16-May-2020 |
nicm <nicm@openbsd.org> |
Drop having a separate type for style options and make them all strings, which allows formats to be expanded. Any styles without a '#{' are still validated when they are set but any with a '#{' are n
Drop having a separate type for style options and make them all strings, 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.
show more ...
|
#
73e52ff8 |
| 13-Apr-2020 |
nicm <nicm@openbsd.org> |
Missed a few warnings in previous.
|
#
035dc73d |
| 13-Apr-2020 |
nicm <nicm@openbsd.org> |
Make client -c and -t handling common in cmd-queue.c and try to be clearer about whether the client is the target client (must have a session) or not.
|
#
040343ae |
| 13-Apr-2020 |
nicm <nicm@openbsd.org> |
Also move cmdq_item and cmdq_list into cmd-queue.c (this is to make its use more clearly defined and preparation for some future work).
|
#
90d7ba38 |
| 13-Apr-2020 |
nicm <nicm@openbsd.org> |
Make struct cmd local to cmd.c and move it out of tmux.h.
|
#
b9cb9f01 |
| 13-Apr-2020 |
nicm <nicm@openbsd.org> |
Change so that the appropriate hooks for windows and panes belong to pane/window options rather than all being session options. This is useful for example to create a pane that is automatically close
Change so that the appropriate hooks for windows and panes belong to pane/window options rather than all being session options. This is useful for example to create a pane that is automatically closed on some condition. From Anindya Mukherjee.
show more ...
|
#
e8bf1467 |
| 17-Mar-2020 |
nicm <nicm@openbsd.org> |
Ignore default-shell (and use /bin/sh) if it invalid not just if it is tmux itself, also refuse to set the option to something invalid in the first place. GitHub issue 2120.
|
#
6e0f28f8 |
| 20-Jun-2019 |
nicm <nicm@openbsd.org> |
Add a per-pane option set. Pane options inherit from window options (so there should be no change to existing behaviour) and are set and shown with set-option -p and show-options -p.
Change remain-o
Add a per-pane option set. Pane options inherit from window options (so 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.
show more ...
|
#
e8150bce |
| 20-Jun-2019 |
nicm <nicm@openbsd.org> |
Add a helper function to work out option table from name.
|
#
844b9093 |
| 26-Apr-2019 |
nicm <nicm@openbsd.org> |
Merge hooks into options and make each one an array option. This allows multiple commands to be easily bound to one hook. set-hook and show-hooks remain but they are now variants of set-option and sh
Merge hooks into options and make each one an array option. This allows 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).
show more ...
|
#
84306383 |
| 23-Apr-2019 |
nicm <nicm@openbsd.org> |
Indicate an array option with a flag rather than a special type so that in future will not have to be strings.
|
#
b63b896a |
| 18-Mar-2019 |
nicm <nicm@openbsd.org> |
The individual -fg, -bg and -attr options have been deprecated (in favour of -style), undocumented and hidden from show-options since 2014. Remove them, except for status-fg and status-bg.
|
#
39052edf |
| 18-Mar-2019 |
nicm <nicm@openbsd.org> |
Make array options a sparse tree instead of an array of char * and remove the size limit.
|
#
b2140406 |
| 16-Mar-2019 |
nicm <nicm@openbsd.org> |
Tidy and rename some bits of status line code.
|
#
7b470e93 |
| 18-Oct-2018 |
nicm <nicm@openbsd.org> |
Support for windows larger than visible on the attached client. This has been a limitation for a long time.
There are two new options, window-size and default-size, and a new command, resize-window.
Support for windows larger than visible on the attached client. This has been a limitation for a long time.
There are two new options, window-size and default-size, and a new command, resize-window. The force-width and force-height options and the session_width and session_height formats have been removed.
The new window-size option tells tmux how to work out the size of windows: largest means it picks the size of the largest session, smallest the smallest session (similar to the old behaviour) and manual means that it does not automatically resize windows. The default is currently largest but this may change. aggressive-resize modifies the choice of session for largest and smallest as it did before.
If a window is in a session attached to a client that is too small, only part of the window is shown. tmux attempts to keep the cursor visible, so the part of the window displayed is changed as the cursor moves (with a small delay, to try and avoid excess redrawing when applications redraw status lines or similar that are not currently visible). The offset of the visible portion of the window is shown in status-right.
Drawing windows which are larger than the client is not as efficient as those which fit, particularly when the cursor moves, so it is recommended to avoid using this on slow machines or networks (set window-size to smallest or manual).
The resize-window command can be used to resize a window manually. If it is used, the window-size option is automatically set to manual for the window (undo this with "setw -u window-size"). resize-window works in a similar way to resize-pane (-U -D -L -R -x -y flags) but also has -a and -A flags. -a sets the window to the size of the smallest client (what it would be if window-size was smallest) and -A the largest.
For the same behaviour as force-width or force-height, use resize-window -x or -y, and "setw -u window-size" to revert to automatic sizing..
If the global window-size option is set to manual, the default-size option is used for new windows. If -x or -y is used with new-session, that sets the default-size option for the new session.
The maximum size of a window is 10000x10000. But expect applications to complain and much higher memory use if making a window excessively big. The minimum size is the size required for the current layout including borders.
The refresh-client command can be used to pan around a window, -U -D -L -R moves up, down, left or right and -c returns to automatic cursor tracking. The position is reset when the current window is changed.
show more ...
|
#
52443529 |
| 22-Dec-2017 |
nicm <nicm@openbsd.org> |
Do not try to set default value on user options (they don't have one), from Charles Howard in GitHub issue 1161.
|
#
65eda551 |
| 07-Sep-2017 |
nicm <nicm@openbsd.org> |
Do not fail if unset an option that is already unset, reported by Thomas Sattler.
|
#
b846cb6c |
| 23-Jun-2017 |
nicm <nicm@openbsd.org> |
Add user-keys option to allow user-defined keys to be set, from Dan Aloni.
|