From 0e0f2f765b762e5be7353c20fb408941116d3247 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 20 Mar 2019 14:01:37 +0000 Subject: Update CHANGES. --- CHANGES | 145 +++++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 89 insertions(+), 56 deletions(-) diff --git a/CHANGES b/CHANGES index b8d96b77..55fc012b 100644 --- a/CHANGES +++ b/CHANGES @@ -1,89 +1,122 @@ CHANGES FROM 2.8 to X.X -* 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 format variables for the default formats in the various modes + (tree_mode_format and so on) and add a -a flag to display-message to list + 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. -* When showing command output in copy mode, call it view mode instead - (affects pane_mode format). +* When showing command output in copy mode, call it view mode instead (affects + pane_mode format). * Add -b to display-panes like run-shell. * Handle UTF-8 in word-separators option. -* New "terminal" colour allowing options to use the terminal default - colour rather than inheriting the default from a parent option. +* New "terminal" colour allowing options to use the terminal default colour + rather than inheriting the default from a parent option. * 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 - than always starting in the user's home. +* Use the same working directory rules for jobs as new windows rather than + always starting in the user's home. * 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. -* Yank previously cut text if any with C-y in the command prompt, only - use the buffer if no text has been cut. +* Yank previously cut text if any with C-y in the command prompt, only use the + buffer if no text has been cut. * Add q: format modifier to quote shell special characters. * Add StatusLeft and StatusRight mouse locations (keys such as - MouseDown1StatusLeft) for the status-left and status-right areas of - the status line. + MouseDown1StatusLeft) for the status-left and status-right areas of the + status line. * Add -Z to find-window. -* Support for windows larger than the client. This adds 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. 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). - - 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 +* Support for windows larger than the client. This adds 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. 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). + + 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. + For the same behaviour as force-width or force-height, use resize-window -x + or -y. - 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. + 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 higher memory use if making a window that big. The - minimum size is the size required for the current layout including - borders. + The maximum size of a window is 10000x10000. But expect applications to + complain and higher memory use if making a window that 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. + 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. CHANGES FROM 2.7 to 2.8 -- cgit v1.2.3