Update CHANGES.

pull/1644/head
Nicholas Marriott 2019-03-20 14:01:37 +00:00
parent bff957a475
commit 0e0f2f765b
1 changed files with 85 additions and 52 deletions

137
CHANGES
View File

@ -1,89 +1,122 @@
CHANGES FROM 2.8 to X.X CHANGES FROM 2.8 to X.X
* Allow more than one mode to be opened in a pane. Modes are kept on a * Add format variables for the default formats in the various modes
stack and retrieved if the same mode is entered again. Exiting the (tree_mode_format and so on) and add a -a flag to display-message to list
active mode goes back to the previous one. variables with values.
* Add a -v flag to display-message to show verbose messages as the format is
parsed, this allows formats to be debugged
* Add support for HPA (\033[`).
* Add support for origin mode (\033[?6h).
* No longer clear history on RIS.
* Extend the #[] style syntax and use that together with previous for mat
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 previou s 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.
* Add E: and T: format modifiers to expand a format twice (useful to expand the
value of an option).
* The individual -fg, -bg and -attr options have been removed; they
were superseded by -style options in tmux 1.9.
* Allow more than one mode to be opened in a pane. Modes are kept on a stack
and retrieved if the same mode is entered again. Exiting the active mode goes
back to the previous one.
* Add support for origin mode. * Add support for origin mode.
* When showing command output in copy mode, call it view mode instead * When showing command output in copy mode, call it view mode instead (affects
(affects pane_mode format). pane_mode format).
* Add -b to display-panes like run-shell. * Add -b to display-panes like run-shell.
* Handle UTF-8 in word-separators option. * Handle UTF-8 in word-separators option.
* New "terminal" colour allowing options to use the terminal default * New "terminal" colour allowing options to use the terminal default colour
colour rather than inheriting the default from a parent option. rather than inheriting the default from a parent option.
* Do not move the cursor in copy mode when the mouse wheel is used. * Do not move the cursor in copy mode when the mouse wheel is used.
* Use the same working directory rules for jobs as new windows rather * Use the same working directory rules for jobs as new windows rather than
than always starting in the user's home. always starting in the user's home.
* Allow panes to be one line or column in size. * Allow panes to be one line or column in size.
* Go to last line when goto-line number is out of range in copy mode. * Go to last line when goto-line number is out of range in copy mode.
* Yank previously cut text if any with C-y in the command prompt, only * Yank previously cut text if any with C-y in the command prompt, only use the
use the buffer if no text has been cut. buffer if no text has been cut.
* Add q: format modifier to quote shell special characters. * Add q: format modifier to quote shell special characters.
* Add StatusLeft and StatusRight mouse locations (keys such as * Add StatusLeft and StatusRight mouse locations (keys such as
MouseDown1StatusLeft) for the status-left and status-right areas of MouseDown1StatusLeft) for the status-left and status-right areas of the
the status line. status line.
* Add -Z to find-window. * Add -Z to find-window.
* Support for windows larger than the client. This adds two new * Support for windows larger than the client. This adds two new options,
options, window-size and default-size, and a new command, window-size and default-size, and a new command, resize-window. The
resize-window. The force-width and force-height options and the force-width and force-height options and the session_width and session_height
session_width and session_height formats have been removed. formats have been removed.
The new window-size option tells tmux how to work out the size of The new window-size option tells tmux how to work out the size of windows:
windows: largest means it picks the size of the largest session, largest means it picks the size of the largest session, smallest the smallest
smallest the smallest session (similar to the old behaviour) and session (similar to the old behaviour) and manual means that it does not
manual means that it does not automatically resize automatically resize windows. aggressive-resize modifies the choice of
windows. aggressive-resize modifies the choice of session for session for largest and smallest as it did before.
largest and smallest as it did before.
If a window is in a session attached to a client that is too small, If a window is in a session attached to a client that is too small, only part
only part of the window is shown. tmux attempts to keep the cursor of the window is shown. tmux attempts to keep the cursor visible, so the part
visible, so the part of the window displayed is changed as the of the window displayed is changed as the cursor moves (with a small delay,
cursor moves (with a small delay, to try and avoid excess redrawing to try and avoid excess redrawing when applications redraw status lines or
when applications redraw status lines or similar that are not similar that are not currently visible).
currently visible).
Drawing windows which are larger than the client is not as efficient Drawing windows which are larger than the client is not as efficient as those
as those which fit, particularly when the cursor moves, so it is which fit, particularly when the cursor moves, so it is recommended to avoid
recommended to avoid using this on slow machines or networks (set using this on slow machines or networks (set window-size to smallest or
window-size to smallest or manual). manual).
The resize-window command can be used to resize a window The resize-window command can be used to resize a window manually. If it is
manually. If it is used, the window-size option is automatically set used, the window-size option is automatically set to manual for the window
to manual for the window (undo this with "setw -u (undo this with "setw -u window-size"). resize-window works in a similar way
window-size"). resize-window works in a similar way to resize-pane to resize-pane (-U -D -L -R -x -y flags) but also has -a and -A flags. -a
(-U -D -L -R -x -y flags) but also has -a and -A flags. -a sets the sets the window to the size of the smallest client (what it would be if
window to the size of the smallest client (what it would be if
window-size was smallest) and -A the largest. window-size was smallest) and -A the largest.
For the same behaviour as force-width or force-height, use For the same behaviour as force-width or force-height, use resize-window -x
resize-window -x or -y. or -y.
If the global window-size option is set to manual, the default-size If the global window-size option is set to manual, the default-size option is
option is used for new windows. If -x or -y is used with used for new windows. If -x or -y is used with new-session, that sets the
new-session, that sets the default-size option for the new session. default-size option for the new session.
The maximum size of a window is 10000x10000. But expect applications The maximum size of a window is 10000x10000. But expect applications to
to complain and higher memory use if making a window that big. The complain and higher memory use if making a window that big. The minimum size
minimum size is the size required for the current layout including is the size required for the current layout including borders.
borders.
The refresh-client command can be used to pan around a window, -U -D The refresh-client command can be used to pan around a window, -U -D -L -R
-L -R moves up, down, left or right and -c returns to automatic moves up, down, left or right and -c returns to automatic cursor
cursor tracking. The position is reset when the current window is tracking. The position is reset when the current window is changed.
changed.
CHANGES FROM 2.7 to 2.8 CHANGES FROM 2.7 to 2.8