1 CHANGES FROM 3.2a TO 3.3
3 * Add an option (pane-border-indicators) to select how the active pane is shown
4 on the pane border (colour, arrows or both).
6 * Support underscore styles with capture-pane -e.
8 * Make pane-border-format a pane option rather than window.
10 * Respond to OSC 4 queries
12 * Fix g/G keys in modes to do the same thing as copy mode (and vi).
14 * Bump the time terminals have to respond to device attributes queries to three
17 * If automatic-rename is off, allow the rename escape sequence to set an empty
20 * Trim menu item text more intelligently.
22 * Add cursor-style and cursor-colour options to set the default cursor style
25 * Accept some useful and non-conflicting emacs keys in vi normal mode at the
28 * Add a format modifier (c) to force a colour to RGB.
30 * Add -s and -S to display-popup to set styles, -b to set lines and -T to set
31 popup title. New popup-border-lines, popup-border-style and popup-style
32 options set the defaults.
34 * Add -e flag to set an environment variable for a popup.
36 * Make send-keys without arguments send the key it is bound to (if bound to a
39 * Try to leave terminal cursor at the right position even when tmux is drawing
40 its own cursor or selection (such as at the command prompt and in choose
41 mode) for people using screen readers and similar which can make use of it.
43 * Change so that {} is converted to tmux commands immediately when parsed. This
44 means it must contain valid tmux commands. For commands which expand %% and
45 %%%, this now only happens within string arguments. Use of nested aliases
46 inside {} is now forbidden. Processing of commands given in quotes remains
49 * Disable evports on SunOS since they are broken.
51 * Do not expand the file given with tmux -f so it can contain :s.
53 * Bump FORMAT_LOOP_LIMIT and add a log message when hit.
55 * Add a terminal feature for the mouse (since FreeBSD termcap does not have kmous).
57 * Forbid empty session names.
59 * Improve error reporting when the tmux /tmp directory cannot be created or
62 * Give #() commands a one second grace period where the output is empty before
63 telling the user they aren't doing anything ("not ready").
65 * When building, pick default-terminal from the first of tmux-256color, tmux,
66 screen-256color, screen that is available on the build system (--with-TERM
69 * Do not close popups on resize, instead adjust them to fit.
71 * Add a client-active hook.
73 * Make window-linked and window-unlinked window options.
75 * Do not configure on macOS without the user making a choice about utf8proc
76 (either --enable-utf8proc or --disable-utf8proc).
78 * Do not freeze output in panes when a popup is open, let them continue to
81 * Add pipe variants of the line copy commands.
83 * Change copy-line and copy-end-of-line not to cancel and add -and-cancel
84 variants, like the other copy commands.
86 * Support the OSC palette-setting sequences in popups.
88 * Add a pane-colours array option to specify the defaults palette.
90 * Add support for Unicode zero-width joiner.
92 * Make newline a style delimiter as well so they can cross multiple lines for
93 readability in configuration files.
95 * Change focus to be driven by events rather than scanning panes so the
96 ordering of in and out is consistent.
98 * Add display-popup -B to open a popup without a border.
100 * Add a menu for popups that can be opened with button three outside the popup
101 or on the left or top border. Resizing now only works on the right and bottom
102 borders or when using Meta. The menu allows a popup to be closed, expanded to
103 the full size of the client, centered in the client or changed into a pane.
105 * Make command-prompt and confirm-before block by default (like run-shell). A
106 new -b flags runs them in the background as before. Also set return code for
109 * Change cursor style handling so tmux understands which sequences contain
110 blinking and sets the flag appropriately, means that it works whether cnorm
111 disables blinking or not. This now matches xterm's behaviour.
113 * More accurate vi(1) word navigation in copy mode and on the status line. This
114 changes the meaning of the word-separators option: setting it to the empty
115 string is equivalent to the previous behavior.
117 * Add -F for command-prompt and use it to fix "Rename" on the window menu.
119 * Add different command histories for different types of prompts ("command",
122 CHANGES FROM 3.2 TO 3.2a
124 * Add an "always" value for the "extended-keys" option; if set then tmux will
125 forward extended keys to applications even if they do not request them.
127 * Add a "mouse" terminal feature so tmux can enable the mouse on terminals
128 where it is known to be supported even if terminfo(5) says otherwise.
130 * Do not expand the filename given to -f so it can contain colons.
132 * Fixes for problems with extended keys and modifiers, scroll region,
133 source-file, crosscompiling, format modifiers and other minor issues.
135 CHANGES FROM 3.1c TO 3.2
137 * Add a flag to disable keys to close a message.
139 * Permit shortcut keys in buffer, client, tree modes to be configured with a
140 format (-K flag to choose-buffer, choose-client, choose-tree).
142 * Add a current_file format for the config file being parsed.
144 * When display-message used in config file, show the message after the config
147 * Add client-detached notification in control mode.
149 * Improve performance of format evaluation.
151 * Make jump command support UTF-8 in copy mode.
153 * Support X11 colour names and other colour formats for OSC 10 and 11.
155 * Add "pipe" variants of "copy-pipe" commands which do not copy.
157 * Include "focused" in client flags.
159 * Send Unicode directional isolate characters around horizontal pane borders if
160 the terminal supports UTF-8 and an extension terminfo(5) capability "Bidi" is
163 * Add a -S flag to new-window to make it select the existing window if one
164 with the given name already exists rather than failing with an error.
166 * Add a format modifier to check if a window or session name exists (N/w or
169 * Add compat clock_gettime for older macOS.
171 * Add a no-detached choice to detach-on-destroy which detaches only if there
172 are no other detached sessions to switch to.
174 * Add rectangle-on and rectangle-off copy mode commands.
176 * Change so that window_flags escapes # automatically. A new format
177 window_raw_flags contains the old unescaped version.
179 * Add -N flag to never start server even if command would normally do so.
181 * With incremental search, start empty and only repeat the previous search if
182 the user tries to search again with an empty prompt.
184 * Add a value for remain-on-exit that only keeps the pane if the program
187 * Add a -C flag to run-shell to use a tmux command rather than a shell command.
189 * Do not list user options with show-hooks.
191 * Remove current match indicator in copy mode which can't work anymore since we
192 only search the visible region.
194 * Make synchronize-panes a pane option and add -U flag to set-option to unset
195 an option on all panes.
197 * Make replacement of ##s consistent when drawing formats, whether followed by
198 [ or not. Add a flag (e) to the q: format modifier to double up #s.
200 * Add -N flag to display-panes to ignore keys.
202 * Change how escaping is processed for formats so that ## and # can be used in
205 * Add a 'w' format modifier for string width.
207 * Add support for Haiku.
209 * Expand menu and popup -x and -y as formats.
211 * Add numeric comparisons for formats.
213 * Fire focus events even when the pane is in a mode.
215 * Add -O flag to display-menu to not automatically close when all mouse buttons
218 * Allow fnmatch(3) wildcards in update-environment.
220 * Disable nested job expansion so that the result of #() is not expanded again.
222 * Use the setal capability as well as (tmux's) Setulc.
224 * Add -q flag to unbind-key to hide errors.
226 * Allow -N without a command to change or add a note to an existing key.
228 * Add a -w flag to set- and load-buffer to send to clipboard using OSC 52.
230 * Add -F to set-environment and source-file.
232 * Allow colour to be spelt as color in various places.
234 * Add n: modifier to get length of a format.
236 * Respond to OSC colour requests if a colour is available.
238 * Add a -d option to display-message to set delay.
240 * Add a way for control mode clients to subscribe to a format and be notified
241 of changes rather than having to poll.
243 * Add some formats for search in copy mode (search_present, search_match).
245 * Do not wait on shutdown for commands started with run -b.
247 * Add -b flags to insert a window before (like the existing -a for after) to
248 break-pane, move-window, new-window.
250 * Make paste -p the default for ].
252 * Add support for pausing a pane when the output buffered for a control mode
253 client gets too far behind. The pause-after flag with a time is set on the
254 pane with refresh-client -f and a paused pane may be resumed with
257 * Allow strings in configuration files to span multiple lines - newlines and
258 any leading whitespace are removed, as well as any following comments that
259 couldn't be part of a format. This allows long formats or other strings to be
260 annotated and indented.
262 * Instead of using a custom parse function to process {} in configuration
263 files, treat as a set of statements the same as outside {} and convert back
264 to a string as the last step. This means the rules are consistent inside and
265 outside {}, %if and friends work at the right time, and the final result
266 isn't littered with unnecessary newlines.
268 * Add support for extended keys - both xterm(1)'s CSI 27 ~ sequence and the
269 libtickit CSI u sequence are accepted; only the latter is output. tmux will
270 only attempt to use these if the extended-keys option is on and it can detect
271 that the terminal outside supports them (or is told it does with the
272 "extkeys" terminal feature).
274 * Add an option to set the pane border lines style from a choice of single
275 lines (ACS or UTF-8), double or heavy (UTF-8), simple (plain ASCII) or number
276 (the pane numbers). Lines that won't work on a non-UTF-8 terminal are
277 translated back into ACS when they are output.
279 * Make focus events update the latest client (like a key press).
281 * Store UTF-8 characters differently to reduce memory use.
283 * Fix break-pane -n when only one pane in the window.
285 * Instead of sending all data to control mode clients as fast as possible, add
286 a limit of how much data will be sent to the client and try to use it for
287 panes with some degree of fairness.
289 * Add an active-pane client flag (set with attach-session -f, new-session -f
290 or refresh-client -f). This allows a client to have an independent active
291 pane for interactive use (the window client pane is still used for many
294 * Add a mark to copy mode, this is set with the set-mark command (bound to X)
295 and appears with the entire line shown using copy-mode-mark-style and the
296 marked character in reverse. The jump-to-mark command (bound to M-x) swaps
297 the mark and the cursor positions.
299 * Add a -D flag to make the tmux server run in the foreground and not as a
302 * Do not loop forever in copy mode when search finds an empty match.
304 * Fix the next-matching-bracket logic when using vi(1) keys.
306 * Add a customize mode where options may be browsed and changed, includes
307 adding a brief description of each option. Bound to C-b C by default.
309 * Change message log (C-b ~) so there is one for the server rather than one per
310 client and it remains after detach, and make it useful by logging every
313 * Add M-+ and M-- to tree mode to expand and collapse all.
315 * Change the existing client flags for control mode to apply for any client,
316 use the same mechanism for the read-only flag and add an ignore-size flag.
318 refresh-client -F has become -f (-F stays for backwards compatibility) and
319 attach-session and switch-client now have -f flags also. A new format
320 client_flags lists the flags and is shown by list-clients by default.
322 This separates the read-only flag from "ignore size" behaviour (new
323 ignore-size) flag - both behaviours are useful in different circumstances.
325 attach -r and switchc -r remain and set or toggle both flags together.
327 * Store and restore cursor position when copy mode is resized.
329 * Export TERM_PROGRAM and TERM_PROGRAM_VERSION like various other terminals.
331 * Add formats for after hook command arguments: hook_arguments with all the
332 arguments together; hook_argument_0, hook_argument_1 and so on with
333 individual arguments; hook_flag_X if flag -X is present; hook_flag_X_0,
334 hook_flag_X_1 and so on if -X appears multiple times.
336 * Try to search the entire history first for up to 200 ms so a search count can
337 be shown. If it takes too long, search the visible text only.
339 * Use VIS_CSTYLE for paste buffers also (show \012 as \n).
341 * Change default formats for tree mode, client mode and buffer mode to be more
342 compact and remove some clutter.
344 * Add a key (e) in buffer mode to open the buffer in an editor. The buffer
345 contents is updated when the editor exits.
347 * Add -e flag for new-session to set environment variables, like the same flag
350 * Improve search match marking in copy mode. Two new options
351 copy-mode-match-style and copy-mode-current-match-style to set the style for
352 matches and for the current match respectively. Also a change so that if a
353 copy key is pressed with no selection, the current match (if any) is copied.
355 * Sanitize session names like window names instead of forbidding invalid ones.
357 * Check if the clear terminfo(5) capability starts with CSI and if so then
358 assume the terminal is VT100-like, rather than relying on the XT capability.
360 * Improve command prompt tab completion and add menus both for strings and -t
361 and -s (when used without a trailing space). command-prompt has additional
362 flags for only completing a window (-W) and a target (-T), allowing C-b ' to
363 only show windows and C-b . only targets.
365 * Change all the style options to string options so they can support formats.
366 Change pane-active-border-style to use this to change the border colour when
367 in a mode or with synchronize-panes on. This also implies a few minor changes
368 to existing behaviour:
370 - set-option -a with a style option automatically inserts a comma between the
371 old value and appended text.
373 - OSC 10 and 11 no longer set the window-style option, instead they store the
374 colour internally in the pane data and it is used as the default when the
377 - status-fg and -bg now override status-style instead of the option values
380 * Add extension terminfo(5) capabilities for margins and focus reporting.
382 * Try $XDG_CONFIG_HOME/tmux/tmux.conf as well as ~/.config/tmux/tmux.conf for
383 configuration file (the search paths are in TMUX_CONF in Makefile.am).
385 * Remove the DSR 1337 iTerm2 extension and replace by the extended device
386 attributes sequence (CSI > q) supported by more terminals.
388 * Add a -s flag to copy-mode to specify a different pane for the source
389 content. This means it is possible to view two places in a pane's history at
390 the same time in different panes, or view the history while still using the
391 pane. Pressing r refreshes the content from the source pane.
393 * Add an argument to list-commands to show only a single command.
395 * Change copy mode to make copy of the pane history so it does not need to
398 * Restore pane_current_path format from portable tmux on OpenBSD.
400 * Wait until the initial command sequence is done before sending a device
401 attributes request and other bits that prompt a reply from the terminal. This
402 means that stray replies are not left on the terminal if the command has
403 attached and then immediately detached and tmux will not be around to receive
406 * Add a -f filter argument to the list commands like choose-tree.
408 * Move specific hooks for panes to pane options and windows for window options
409 rather than all hooks being session options. These hooks are now window options:
411 window-layout-changed
417 And these are now pane options:
426 Any existing configurations using these hooks on a session rather than
427 globally (that is, set-hook or set-option without -g) may need to be changed.
429 * Show signal names when a process exits with remain-on-exit on platforms which
430 have a way to get them.
432 * Start menu with top item selected if no mouse and use mode-style for the
435 * Add a copy-command option and change copy-pipe and friends to pipe to it if
436 used without arguments, allows all the default copy key bindings to be
437 changed to pipe with one option rather than needing to change each key
438 binding individually.
440 * Tidy up the terminal detection and feature code and add named sets of
441 terminal features, each of which are defined in one place and map to a
442 builtin set of terminfo(5) capabilities. Features can be specified based on
443 TERM with a new terminal-features option or with the -T flag when running
444 tmux. tmux will also detect a few common terminals from the DA and DSR
447 This is intended to make it easier to configure tmux's use of terminfo(5)
448 even in the presence of outdated ncurses(3) or terminfo(5) databases or for
449 features which do not yet have a terminfo(5) entry. Instead of having to grok
450 terminfo(5) capability names and what they should be set to in the
451 terminal-overrides option, the user can hopefully just give tmux a feature
452 name and let it do the right thing.
454 The terminal-overrides option remains both for backwards compatibility and to
455 allow tweaks of individual capabilities.
457 * Support mintty's application escape sequence (means tmux doesn't have to
458 delay to wait for Escape, so no need to reduce escape-time when using
461 * Change so main-pane-width and height can be given as a percentage.
463 * Support for the iTerm2 synchronized updates feature (allows the terminal to
464 avoid unnecessary drawing while output is still in progress).
466 * Make the mouse_word and mouse_line formats work in copy mode and enable the
467 default pane menu in copy mode.
469 * Add a -T flag to resize-pane to trim lines below the cursor, moving lines out
472 * Add a way to mark environment variables as "hidden" so they can be used by
473 tmux (for example in formats) but are not set in the environment for new
474 panes. set-environment and show-environment have a new -h flag and there is a
475 new %hidden statement for the configuration file.
477 * Change default position for display-menu -x and -y to centre rather than top
480 * Add support for per-client transient popups, similar to menus but which are
481 connected to an external command (like a pane). These are created with new
482 command display-popup.
484 * Change double and triple click bindings so that only one is fired (previously
485 double click was fired on the way to triple click). Also add default double
486 and triple click bindings to copy the word or line under the cursor and
487 change the existing bindings in copy mode to do the same.
489 * Add a default binding for button 2 to paste.
491 * Add -d flag to run-shell to delay before running the command and allow it to
492 be used without a command so it just delays.
494 * Add C-g to cancel command prompt with vi keys as well as emacs, and q in
497 * When the server socket is given with -S, create it with umask 177 instead of
498 117 (because it may not be in a safe directory like the default directory in
501 * Add a copy-mode -H flag to hide the position marker in the top right.
503 * Add number operators for formats (+, -, *, / and m),
505 CHANGED FROM 3.1b TO 3.1c
507 * Do not write after the end of the array and overwrite the stack when
508 colon-separated SGR sequences contain empty arguments.
510 CHANGES FROM 3.1a TO 3.1b
512 * Fix build on systems without sys/queue.h.
514 * Fix crash when allow-rename is on and an empty name is set.
516 CHANGES FROM 3.1 TO 3.1a
518 * Do not close stdout prematurely in control mode since it is needed to print
519 exit messages. Prevents hanging when detaching with iTerm2.
521 CHANGES FROM 3.0a TO 3.1
523 * Only search the visible part of the history when marking (highlighting)
524 search terms. This is much faster than searching the whole history and solves
525 problems with large histories. The count of matches shown is now the visible
526 matches rather than all matches.
528 * Search using regular expressions in copy mode. search-forward and
529 search-backward use regular expressions by default; the incremental versions
532 * Turn off mouse mode 1003 as well as the rest when exiting.
534 * Add selection_active format for when the selection is present but not moving
537 * Fix dragging with modifier keys, so binding keys such as C-MouseDrag1Pane and
538 C-MouseDragEnd1Pane now work.
540 * Add -a to list-keys to also list keys without notes with -N.
542 * Do not jump to next word end if already on a word end when selecting a word;
543 fixes select-word with single character words and vi(1) keys.
545 * Fix top and bottom pane calculation with pane border status enabled.
547 * Add support for adding a note to a key binding (with bind-key -N) and use
548 this to add descriptions to the default key bindings. A new -N flag to
549 list-keys shows key bindings with notes. Change the default ? binding to use
550 this to show a readable summary of keys. Also extend command-prompt to return
551 the name of the key pressed and add a default binding (/) to show the note
552 for the next key pressed.
554 * Add support for the iTerm2 DSR 1337 sequence to get the terminal version.
556 * Treat plausible but invalid keys (like C-BSpace) as literal like any other
557 unrecognised string passed to send-keys.
559 * Detect iTerm2 and enable use of DECSLRM (much faster with horizontally split
562 * Add -Z to default switch-client command in tree mode.
564 * Add ~ to quoted characters for %%%.
566 * Document client exit messages in the manual page.
568 * Do not let read-only clients limit the size, unless all clients are
571 * Add a number of new formats to inspect what sessions and clients a window is
572 present or active in.
574 * Change file reading and writing to go through the client if necessary. This
575 fixes commands like "tmux loadb /dev/fd/X". Also modify source-file to
576 support "-" for standard input, like load-buffer and save-buffer.
578 * Add ~/.config/tmux/tmux.conf to the default search path for configuration
581 * Bump the escape sequence timeout to five seconds to allow for longer
582 legitimate sequences.
584 * Make a best effort to set xpixel and ypixel for each pane and add formats for
587 * Add push-default to status-left and status-right in status-format[0].
589 * Do not clear search marks on cursor movement with vi(1) keys.
591 * Add p format modifier for padding to width and allow multiple substitutions
594 * Add -f for full size to join-pane (like split-window).
596 * Do not use bright when emulating 256 colours on an 8 colour terminal because
597 it is also bold on some terminals.
599 * Make select-pane -P set window-active-style also to match previous behaviour.
601 * Do not truncate list-keys output.
603 * Turn automatic-rename back on if the \033k rename escape sequence is used
606 * Add support for percentage sizes for resize-pane ("-x 10%"). Also change
607 split-window and join-pane -l to accept similar percentages and deprecate the
610 * Add -F flag to send-keys to expand formats in search-backward and forward
611 copy mode commands and copy_cursor_word and copy_cursor_line formats for word
612 and line at cursor in copy mode. Use for default # and * binding with vi(1)
615 * Add formats for word and line at cursor position in copy mode.
617 * Add formats for cursor and selection position in copy mode.
619 * Support all the forms of RGB colour strings in OSC sequences rather than
620 requiring two digits.
622 * Limit lazy resize to panes in attached sessions only.
624 * Add an option to set the key sent by backspace for those whose system uses ^H
627 * Change new-session -A without a session name (that is, no -s option also) to
628 attach to the best existing session like attach-session rather than a new
631 * Add a "latest" window-size option which tries to size windows based on the
632 most recently used client. This is now the default.
634 * Add simple support for OSC 7 (result is available in the pane_path format).
636 * Add push-default and pop-default for styles which change the colours and
637 attributes used for #[default]. These are used in status-format to restore
638 the behaviour of window-status-style being the default for
639 window-status-format.
641 * Add window_marked_flag.
643 * Add cursor-down-and-cancel in copy mode.
645 * Default to previous search string for search-forward and search-backward.
647 * Add -Z flag to rotate-window, select-pane, swap-pane, switch-client to
648 preserve zoomed state.
650 * Add -N to capture-pane to preserve trailing spaces.
652 * Add reverse sorting in tree, client and buffer modes.
654 CHANGES FROM 3.0 TO 3.0a
656 * Do not require REG_STARTEND.
658 * Respawn panes or windows correctly if default-command is set.
660 * Add missing option for after-kill-pane hook.
662 * Fix for crash with a format variable that doesn't exist.
664 * Do not truncate list-keys output on some platforms.
666 * Do not crash when restoring a layout with only one pane.
668 CHANGES FROM 2.9 TO 3.0
670 * Workaround invalid layout strings generated by older tmux versions and add
671 some additional sanity checks
673 * xterm 348 now disables margins when resized, so send DECLRMM again after
676 * Add support for the SD (scroll down) escape sequence.
678 * Expand arguments to C and s format modifiers to match the m modifier.
680 * Add support for underscore colours (Setulc capability must be added with
681 terminal-overrides as described in tmux(1)).
683 * Add a "fill" style attribute for the fill colour of the drawing area (where
686 * New -H flag to send-keys to send literal keys.
688 * Format variables for pane mouse modes (mouse_utf8_flag and mouse_sgr_flag)
689 and for origin mode (origin_flag).
691 * Add -F to refresh-client for flags for control mode clients, only one flag
692 (no-output) supported at the moment.
694 * Add a few vi(1) keys for menus.
696 * Add pane options, set with set-option -p and displayed with show-options -p.
697 Pane options inherit from window options (so every pane option is also
698 a window option). The pane style is now configured by setting window-style
699 and window-active-style in the pane options; select-pane -P and -g now change
700 the option but are no longer documented.
702 * Do not document set-window-option and show-window-options. set-option -w and
703 show-options -w should be used instead.
705 * Add a -A flag to show-options to show parent options as well (they are marked
708 * Resize panes lazily - do not resize unless they are in an attached, active
711 * Add regular expression support for the format search, match and substitute
712 modifiers and make them able to ignore case. find-window now accepts -r to
713 use regular expressions.
715 * Do not use $TMUX to find the session because for windows in multiple sessions
716 it is wrong as often as it is right, and for windows in one session it is
717 pointless. Instead use TMUX_PANE if it is present.
719 * Do not always resize the window back to its original size after applying a
720 layout, keep it at the layout size until it must be resized (for example when
721 attached and window-size is not manual).
723 * Add new-session -X and attach-session -x to send SIGHUP to parent when
724 detaching (like detach-client -P).
726 * Support for octal escapes in strings (such as \007) and improve list-keys
727 output so it parses correctly if copied into a configuration file.
729 * INCOMPATIBLE: Add a new {} syntax to the configuration file. This is a string
730 similar to single quotes but also includes newlines and allows commands that
731 take other commands as string arguments to be expressed more clearly and
732 without additional escaping.
734 A literal { and } or a string containing { or } must now be escaped or
735 quoted, for example '{' and '}' instead of { or }, or 'X#{foo}' instead of
738 * New <, >, <= and >= comparison operators for formats.
740 * Improve escaping of special characters in list-keys output.
742 * INCOMPATIBLE: tmux's configuration parsing has changed to use yacc(1). There
743 is one incompatible change: a \ on its own must be escaped or quoted as
744 either \\ or '\' (the latter works on older tmux versions).
746 Entirely the same parser is now used for parsing the configuration file
747 and for string commands. This means that constructs previously only
748 available in .tmux.conf, such as %if, can now be used in string commands
749 (for example, those given to if-shell - not commands invoked from the
750 shell, they are still parsed by the shell itself).
752 * Add support for the overline attribute (SGR 53). The Smol capability is
753 needed in terminal-overrides.
755 * Add the ability to create simple menus. Introduces new command
756 display-menu. Default menus are bound to MouseDown3 on the status line;
757 MouseDown3 or M-MouseDown3 on panes; MouseDown3 in tree, client and
758 buffer modes; and C-b < and >.
760 * Allow panes to be empty (no command). They can be created either by piping to
761 split-window -I, or by passing an empty command ('') to split-window. Output
762 can be sent to an existing empty window with display-message -I.
764 * Add keys to jump between matching brackets (emacs C-M-f and C-M-b, vi %).
766 * Add a -e flag to new-window, split-window, respawn-window, respawn-pane to
767 pass environment variables into the newly created process.
769 * Hooks are now stored in the options tree as array options, allowing them to
770 have multiple separate commands. set-hook and show-hooks remain but
771 set-option and show-options can now also be used (show-options will only show
772 hooks if given the -H flag). Hooks with multiple commands are run in index
775 * Automatically scroll if dragging to create a selection with the mouse and the
776 cursor reaches the top or bottom line.
778 * Add -no-clear variants of copy-selection and copy-pipe which do not clear the
779 selection after copying. Make copy-pipe clear the selection by default to be
780 consistent with copy-selection.
782 * Add an argument to copy commands to set the prefix for the buffer name, this
783 (for example) allows buffers for different sessions to be named separately.
785 * Update session activity on focus event.
787 * Pass target from source-file into the config file parser so formats in %if
788 and %endif have access to more useful variables.
790 * Add the ability to infer an option type (server, session, window) from its
791 name to show-options (it was already present in set-option).
793 CHANGES FROM 2.9 TO 2.9a
795 * Fix bugs in select-pane and the main-horizontal and main-vertical layouts.
797 CHANGES FROM 2.8 TO 2.9
799 * Attempt to preserve horizontal cursor position as well as vertical with
802 * Rewrite main-vertical and horizontal and change layouts to better handle the
803 case where all panes won't fit into the window size, reduce problems with
804 pane border status lines and fix other bugs mostly found by Thomas Sattler.
806 * Add format variables for the default formats in the various modes
807 (tree_mode_format and so on) and add a -a flag to display-message to list
808 variables with values.
810 * Add a -v flag to display-message to show verbose messages as the format is
811 parsed, this allows formats to be debugged
813 * Add support for HPA (\033[`).
815 * Add support for origin mode (\033[?6h).
817 * No longer clear history on RIS.
819 * Extend the #[] style syntax and use that together with previous format
820 changes to allow the status line to be entirely configured with a single
823 Now that it is possible to configure their content, enable the existing code
824 that lets the status line be multiple lines in height. The status option can
825 now take a value of 2, 3, 4 or 5 (as well as the previous on or off) to
826 configure more than one line. The new status-format array option configures
827 the format of each line, the default just references the existing status-*
828 options, although some of the more obscure status options may be eliminated
831 Additions to the #[] syntax are: "align" to specify alignment (left, centre,
832 right), "list" for the window list and "range" to configure ranges of text
833 for the mouse bindings.
835 The "align" keyword can also be used to specify alignment of entries in tree
836 mode and the pane status lines.
838 * Add E: and T: format modifiers to expand a format twice (useful to expand the
841 * The individual -fg, -bg and -attr options have been removed; they
842 were superseded by -style options in tmux 1.9.
844 * Allow more than one mode to be opened in a pane. Modes are kept on a stack
845 and retrieved if the same mode is entered again. Exiting the active mode goes
846 back to the previous one.
848 * When showing command output in copy mode, call it view mode instead (affects
851 * Add -b to display-panes like run-shell.
853 * Handle UTF-8 in word-separators option.
855 * New "terminal" colour allowing options to use the terminal default colour
856 rather than inheriting the default from a parent option.
858 * Do not move the cursor in copy mode when the mouse wheel is used.
860 * Use the same working directory rules for jobs as new windows rather than
861 always starting in the user's home.
863 * Allow panes to be one line or column in size.
865 * Go to last line when goto-line number is out of range in copy mode.
867 * Yank previously cut text if any with C-y in the command prompt, only use the
868 buffer if no text has been cut.
870 * Add q: format modifier to quote shell special characters.
872 * Add StatusLeft and StatusRight mouse locations (keys such as
873 MouseDown1StatusLeft) for the status-left and status-right areas of the
876 * Add -Z to find-window.
878 * Support for windows larger than the client. This adds two new options,
879 window-size and default-size, and a new command, resize-window. The
880 force-width and force-height options and the session_width and session_height
881 formats have been removed.
883 The new window-size option tells tmux how to work out the size of windows:
884 largest means it picks the size of the largest session, smallest the smallest
885 session (similar to the old behaviour) and manual means that it does not
886 automatically resize windows. aggressive-resize modifies the choice of
887 session for largest and smallest as it did before.
889 If a window is in a session attached to a client that is too small, only part
890 of the window is shown. tmux attempts to keep the cursor visible, so the part
891 of the window displayed is changed as the cursor moves (with a small delay,
892 to try and avoid excess redrawing when applications redraw status lines or
893 similar that are not currently visible).
895 Drawing windows which are larger than the client is not as efficient as those
896 which fit, particularly when the cursor moves, so it is recommended to avoid
897 using this on slow machines or networks (set window-size to smallest or
900 The resize-window command can be used to resize a window manually. If it is
901 used, the window-size option is automatically set to manual for the window
902 (undo this with "setw -u window-size"). resize-window works in a similar way
903 to resize-pane (-U -D -L -R -x -y flags) but also has -a and -A flags. -a
904 sets the window to the size of the smallest client (what it would be if
905 window-size was smallest) and -A the largest.
907 For the same behaviour as force-width or force-height, use resize-window -x
910 If the global window-size option is set to manual, the default-size option is
911 used for new windows. If -x or -y is used with new-session, that sets the
912 default-size option for the new session.
914 The maximum size of a window is 10000x10000. But expect applications to
915 complain and higher memory use if making a window that big. The minimum size
916 is the size required for the current layout including borders.
918 The refresh-client command can be used to pan around a window, -U -D -L -R
919 moves up, down, left or right and -c returns to automatic cursor
920 tracking. The position is reset when the current window is changed.
922 CHANGES FROM 2.7 TO 2.8
924 * Make display-panes block the client until a pane is chosen or it
927 * Clear history on RIS like most other terminals do.
929 * Add an "Any" key to run a command if a key is pressed that is not
930 bound in the current key table.
932 * Expand formats in load-buffer and save-buffer.
934 * Add a rectangle_toggle format.
936 * Add set-hook -R to run a hook immediately.
940 * Add pane focus hooks.
942 * Allow any punctuation as separator for s/x/y not only /.
944 * Improve resizing with the mouse (fix resizing the wrong pane in some
945 layouts, and allow resizing multiple panes at the same time).
947 * Allow , and } to be escaped in formats as #, and #}.
949 * Add KRB5CCNAME to update-environment.
951 * Change meaning of -c to display-message so the client is used if it
952 matches the session given to -t.
954 * Fixes to : form of SGR.
956 * Add x and X to choose-tree to kill sessions, windows or panes.
958 CHANGES FROM 2.6 TO 2.7
960 * Remove EVENT_* variables from environment on platforms where tmux uses them
961 so they do not pass on to panes.
963 * Fixes for hooks at server exit.
965 * Remove SGR 10 (was equivalent to SGR 0 but no other terminal seems to do
968 * Expand formats in window and session names.
970 * Add -Z flag to choose-tree, choose-client, choose-buffer to automatically
971 zoom the pane when the mode is entered and unzoom when it exits, assuming the
972 pane is not already zoomed. This is now part of the default key bindings.
974 * Add C-g to exit modes with emacs keys.
976 * Add exit-empty option to exit server if no sessions (defaults to on).
978 * Show if a filter is present in choose modes.
980 * Add pipe-pane -I to to connect stdin of the child process.
982 * Performance improvements for reflow.
984 * Use RGB terminfo(5) capability to detect RGB colour terminals (the existing
985 Tc extension remains unchanged).
987 * Support for ISO colon-separated SGR sequences.
989 * Add select-layout -E to spread panes out evenly (bound to E key).
991 * Support wide characters properly when reflowing.
993 * Pass PWD to new panes as a hint to shells, as well as calling chdir().
995 * Performance improvements for the various choose modes.
997 * Only show first member of session groups in tree mode (-G flag to choose-tree
1000 * Support %else in config files to match %if; from Brad Town in GitHub issue
1003 * Fix "kind" terminfo(5) capability to be S-Down not S-Up.
1005 * Add a box around the preview label in tree mode.
1007 * Show exit status and time in the remain-on-exit pane text; from Timo
1008 Boettcher in GitHub issue 1103.
1010 * Correctly use pane-base-index in tree mode.
1012 * Change the allow-rename option default to off.
1014 * Support for xterm(1) title stack escape sequences (GitHub issue 1075 from
1017 * Correctly remove padding cells to fix a UTF-8 display problem (GitHub issue
1020 CHANGES FROM 2.5 TO 2.6, 05 October 2017
1022 * Add select-pane -T to set pane title.
1024 * Fix memory leak when lines with BCE are removed from history.
1026 * Fix (again) the "prefer unattached" behaviour of attach-session.
1028 * Reorder how keys are checked to allow keys to be specified that have a
1029 leading escape. GitHub issue 1048.
1031 * Support REP escape sequence (\033[b).
1033 * Run alert hooks based on options rather than always, and allow further bells
1034 even if there is an existing bell.
1036 * Add -d flag to display-panes to override display-panes-time.
1038 * Add selection_present format when in copy mode (allows key bindings that do
1039 something different if there is a selection).
1041 * Add pane_at_left, pane_at_right, pane_at_top and pane_at_bottom formats.
1043 * Make bell, activity and silence alerting more consistent by: removing the
1044 bell-on-alert option; adding activity-action and silence-action options with
1045 the same possible values as the existing bell-action; adding a "both" value
1046 for the visual-bell, visual-activity and visual-silence options to trigger
1047 both a bell and a message.
1049 * Add a pane_pipe format to show if pipe-pane is active.
1051 * Block signals between forking and resetting signal handlers so that the
1052 libevent signal handler doesn't get called in the child and incorrectly write
1053 into the signal pipe that it still shares with the parent. GitHub issue 1001.
1055 * Allow punctuation in pane_current_command.
1057 * Add -c for respawn-pane and respawn-window.
1059 * Wait for any remaining data to flush when a pane is closed while pipe-pane is
1062 * Fix working out current client with no target. GitHub issue 995.
1064 * Try to fallback to C.UTF-8 as well as en_US.UTF-8 when looking for a UTF-8
1067 * Add user-keys option for user-defined key escape sequences (mapped to User0
1070 * Add pane-set-clipboard hook.
1072 * FAQ file has moved out of repository to online.
1074 * Fix problem with high CPU usage when a client dies unexpectedly. GitHub issue
1077 * Do a dance on OS X 10.10 and above to return tmux to the user namespace,
1078 allowing access to the clipboard.
1080 * Do not allow escape sequences which expect a specific terminator (APC, DSC,
1081 OSC) to wait for forever - use a small timeout. This reduces the chance of
1082 the pane locking up completely when sent garbage (cat /dev/random or
1085 * Support SIGUSR2 to toggle logging on a running server, also generate the
1086 "out" log file with -vv not -vvvv.
1088 * Make set-clipboard a three state option: on (tmux both sends to outside
1089 terminal and accepts from applications inside); external (tmux sends outside
1090 but does not accept inside); and off.
1092 * Fix OSC 4 palette setting for bright foreground colours. GitHub issue 954.
1094 * Use setrgbf and setrgbb terminfo(5) capabilities to set RGB colours, if they
1095 are available. (Tc is still supported as well.)
1097 * Fix redrawing panes when they are resized several times but end up with the
1098 size unchanged (for example, splitw/resizep -Z/breakp).
1100 * Major rewrite of choose mode. Now includes preview, sorting, searching and
1101 tagging; commands that can be executed directly from the mode (for example,
1102 to delete one or more buffers); and filtering in tree mode.
1104 * choose-window and choose-session are now aliases of choose-tree (in the
1105 command-alias option).
1107 * Support OSC 10 and OSC 11 to set foreground and background colours.
1109 * Check the U8 capability to determine whether to use UTF-8 line drawing
1112 * Some missing notifications for layout changes.
1114 * Control mode clients now do not affect session sizes until they issue
1115 refresh-client -C. new-session -x and -y works with control clients even if
1116 the session is not detached.
1118 * All new sessions that are unattached (whether with -d or started with no
1119 terminal) are now created with size 80 x 24. Whether the status line is on or
1120 off does not affect the size of new sessions until they are attached.
1122 * Expand formats in option names and add -F flag to expand them in option values.
1124 * Remember the search string for a pane even if copy mode is exited and entered
1127 * Some further BCE fixes (scroll up, reverse index).
1129 * Improvements to how terminals are cleared (entirely or partially).
1131 CHANGES FROM 2.4 TO 2.5, 09 May 2017
1133 * Reset updated flag when restarting #() command so that new output is properly
1134 recognised. GitHub issue 922.
1136 * Fix ECH with a background colour.
1138 * Do not rely on the terminal not moving the cursor after DL or EL.
1140 * Fix send-keys and send-prefix in copy-mode (so C-b C-b works). GitHub issue
1143 * Set the current pane for rotate-window so it works in command sequences.
1145 * Add pane_mode format.
1147 * Differentiate M-Up from Escape+Up when possible (that is, in terminals with
1148 xterm(1) style function keys). GitHub issue 907.
1150 * Add session_stack and window_stack_index formats.
1152 * Some new control mode notifications and corresponding hooks:
1153 pane-mode-changed, window-pane-changed, client-session-changed,
1154 session-window-changed.
1156 * Format pane_search_string for last search term while in copy mode (useful
1157 with command-prompt -I).
1159 * Fix a problem with high CPU usage and multiple clients with #(). GitHub issue
1162 * Fix UTF-8 combining characters in column 0.
1164 * Fix reference counting so that panes are properly destroyed and their
1167 * Clamp SU (CSI S) parameter to work around a bug in Konsole.
1169 * Tweak line wrapping in full width panes to play more nicely with terminal
1172 * Fix when we emit SGR 0 in capture-pane -e.
1174 * Do not change TERM until after config file parsing has finished, so that
1175 commands run inside the config file can use it to make decisions (typically
1176 about default-terminal).
1178 * Make the initial client wait until config file parsing has finished to avoid
1179 racing with commands.
1181 * Fix core when if-shell fails.
1183 * Only use ED to clear screen if the pane is at the bottom.
1185 * Fix multibyte UTF-8 output.
1187 * Code improvements around target (-t) resolution.
1189 * Change how the default target (for commands without -t) is managed across
1190 command sequences: now it is set up at the start and commands are required
1191 to update it if needed. Fixes binding command sequences to mouse keys.
1193 * Make if-shell from the config file work correctly.
1195 * Change to always check the root key table if no binding is found in the
1196 current table (prefix table or copy-mode table or whatever). This means that
1197 root key bindings will take effect even in copy mode, if not overridden by a
1198 copy mode key binding.
1200 * Fix so that the history file works again.
1202 * Run config file without a client rather than using the first client, restores
1205 * If a #() command doesn't exit, continue to read from it and use its last full
1208 * Handle slow terminals and fast output better: when the amount of data
1209 outstanding gets too large, discard output until it is drained and we are
1210 able to do a full redraw. Prevents tmux sitting on a huge buffer that the
1211 terminal will take forever to consume.
1213 * Do not redraw a client unless we realistically think it can accept the data -
1214 defer redraws until the client has nothing else waiting to write.
1216 CHANGES FROM 2.3 TO 2.4, 20 April 2017
1218 Incompatible Changes
1219 ====================
1221 * Key tables have undergone major changes. Mode key tables are no longer
1222 separate from the main key tables. All mode key tables have been removed,
1223 together with the -t flag to bind-key and unbind-key.
1225 The emacs-edit, vi-edit, emacs-choose and vi-choose tables have been replaced
1226 by fixed key bindings in the command prompt and choose modes. The mode-keys
1227 and status-keys options remain.
1229 The emacs-copy and vi-copy tables have been replaced by the copy-mode and
1230 copy-mode-vi tables. Commands are sent using the -X and -N flags to
1231 send-keys. So the following:
1233 bind -temacs-copy C-Up scroll-up
1234 bind -temacs-copy -R5 WheelUpPane scroll-up
1238 bind -Tcopy-mode C-Up send -X scroll-up
1239 bind -Tcopy-mode WheelUpPane send -N5 -X scroll-up
1241 These changes allows the full command parser (including command sequences) and
1242 command set to be used - for example, the normal command prompt with editing
1243 and history is now used for searching, jumping, and so on instead of a custom
1244 one. The default C-r binding is now:
1246 bind -Tcopy-mode C-r command-prompt -i -p'search up' "send -X search-backward-incremental '%%'"
1248 There are also some new commmands available with send -X, such as
1249 copy-pipe-and-cancel.
1250 * set-remain-on-exit has gone -- can be achieved with hooks instead.
1251 * Hooks: before hooks have been removed and only a selection of commands now
1252 have after hooks (they are no longer automatic). Additional hooks have been
1254 * The xterm-keys option now defaults to on.
1259 * Support for mouse double and triple clicks.
1260 * BCE (Background Colour Erase) is now supported.
1261 * All occurrences of a search string in copy mode are now highlighted;
1262 additionally, the number of search results is displayed. The highlighting
1263 updates interactively with the default emacs key bindings (incremental
1265 * source-file now understands glob patterns.
1266 * Formats now have simple comparisons:
1271 * There are the following new formats:
1273 - #{version} -- the tmux server version;
1274 - #{client_termtype} -- the terminal type of the client;
1275 - #{client_name} -- the name of a client;
1276 - #{client_written} -- the number of bytes written to the client.
1278 * The configuration file now accepts %if/%endif conditional blocks which are
1279 processed when it is parsed; the argument is a format string (useful with the
1280 new format comparison options).
1281 * detach-client now has -E to execute a command replacing the client instead of
1283 * Add support for custom command aliases, this is an array option which
1284 contains items of the form "alias=command". This is consulted when an
1285 unknown command is parsed.
1286 * break-pane now has -n to specify the new window name.
1287 * OSC 52 support has been added for programs inside tmux to set a tmux buffer.
1288 * The mouse "all event" mode (1003) is now supported.
1289 * Palette setting is now possible (OSC 4 and 104).
1290 * Strikethrough support (a recent terminfo is required).
1291 * Grouped sessions can now be named (new -t).
1292 * terminal-overrides and update-environment are now array options (the previous
1293 set -ag syntax should work without change).
1294 * There have been substantial performance improvements.
1296 CHANGES FROM 2.2 TO 2.3, 29 September 2016
1298 Incompatible Changes
1299 ====================
1306 * New option 'pane-border-status' to add text in the pane borders.
1307 * Support for hooks on commands: 'after' and 'before' hooks.
1308 * 'source-file' understands '-q' to suppress errors for nonexistent files.
1309 * Lots of UTF8 improvements, especially on MacOS.
1310 * 'window-status-separator' understands #[] expansions.
1311 * 'split-window' understands '-f' for performing a full-width split.
1312 * Allow report count to be specified when using 'bind-key -R'.
1313 * 'set -a' for appending to user options (@foo) is now supported.
1314 * 'display-panes' can now accept a command to run, rather than always
1317 CHANGES FROM 2.1 TO 2.2, 10 April 2016
1319 Incompatible Changes
1320 ====================
1322 * The format strings which referenced time have been removed. Instead:
1324 #{t:window_activity}
1328 * Support for TMPDIR has been removed. Use TMUX_TMPDIR instead.
1329 * UTF8 detection now happens automatically if the client supports it, hence
1335 options has been removed.
1340 format string has been removed.
1341 * The -I option to show-messages has been removed. See:
1345 format option instead.
1350 * Panes are unzoomed with selectp -LRUD
1351 * New formats added:
1355 #{=10:...} -- limit to N characters (from the start)
1356 #{=-10:...} -- limit to N characters (from the end)
1357 #{t:...} -- used to format time-based formats
1358 #{b:...} -- used to ascertain basename from string
1359 #{d:...} -- used to ascertain dirname from string
1360 #{s:...} -- used to perform substitutions on a string
1362 * Job output is run via the format system, so formats work again
1363 * If display-time is set to 0, then the indicators wait for a key to be
1365 * list-keys and list-commands can be run without starting the tmux server.
1366 * kill-session learns -C to clear all alerts in all windows of the session.
1367 * Support for hooks (internal for now), but hooks for the following have been
1379 * RGB (24bit) colour support. The 'Tc' flag must be set in the external TERM
1380 entry (using terminal-overrides or a custom terminfo entry).
1382 CHANGES FROM 2.0 TO 2.1, 18 October 2015
1384 Incompatible Changes
1385 ====================
1387 * Mouse-mode has been rewritten. There's now no longer options for:
1390 - mouse-select-window
1393 Instead there is just one option: 'mouse' which turns on mouse support
1395 * 'default-terminal' is now a session option. Furthermore, if this is set
1396 to 'screen-*' then emulate what screen does. If italics are wanted, this
1397 can be set to 'tmux' but this is still new and not necessarily supported
1398 on all platforms with older ncurses installs.
1399 * The c0-* options for rate-limiting have been removed. Instead, a backoff
1408 - window_activity_format
1410 - session_last_attached
1413 * 'copy-selection', 'append-selection', 'start-named-buffer' now understand
1414 an '-x' flag to prevent it exiting copying mode.
1415 * 'select-pane' now understands '-P' to set window/pane background colours.
1416 * 'renumber-windows' now understands windows which are unlinked.
1417 * 'bind' now understands multiple key tables. Allows for key-chaining.
1418 * 'select-layout' understands '-o' to undo the last layout change.
1419 * The environment is updated when switching sessions as well as attaching.
1420 * 'select-pane' now understands '-M' for marking a pane. This marked pane
1421 can then be used with commands which understand src-pane specifiers
1423 * If a session/window target is prefixed with '=' then only an exact match
1425 * 'move-window' understands '-a'.
1426 * 'update-environment' understands '-E' when attach-session is used on an
1427 already attached client.
1428 * 'show-environment' understands '-s' to output Bourne-compatible commands.
1429 * New option: 'history-file' to save/restore command prompt history.
1430 * Copy mode is exited if the history is cleared whilst in copy-mode.
1431 * 'copy-mode' learned '-e' to exit copy-mode when scrolling to end.
1433 CHANGES FROM 1.9a TO 2.0, 06 March 2015
1435 Incompatible Changes
1436 ====================
1438 * The choose-list command has been removed.
1439 * 'terminal-overrides' is now a server option, not a session option.
1440 * 'message-limit' is now a server option, not a session option.
1441 * 'monitor-content' option has been removed.
1442 * 'pane_start_path' option has been removed.
1443 * The "info" mechanism which used to (for some commands) provide feedback
1444 has been removed, and like other commands, they now produce nothing on
1450 * tmux can now write an entry to utmp if the library 'utempter' is present
1452 * set-buffer learned append mode (-a), and a corresponding
1453 'append-selection' command has been added to copy-mode.
1454 * choose-mode now has the following commands which can be bound:
1460 * choose-buffer now understands UTF-8.
1461 * Pane navigation has changed:
1462 - The old way of always using the top or left if the choice is ambiguous.
1463 - The new way of remembering the last used pane is annoying if the
1464 layout is balanced and the leftmost is obvious to the user (because
1465 clearly if we go right from the top-left in a tiled set of four we want
1466 to end up in top-right, even if we were last using the bottom-right).
1468 So instead, use a combination of both: if there is only one possible
1469 pane alongside the current pane, move to it, otherwise choose the most
1470 recently used of the choice.
1471 * 'set-buffer' can now be told to give names to buffers.
1472 * The 'new-session', 'new-window', 'split-window', and 'respawn-pane' commands
1473 now understand multiple arguments and handle quoting problems correctly.
1474 * 'capture-pane' understands '-S-' to mean the start of the pane, and '-E-' to
1475 mean the end of the pane.
1476 * Support for function keys beyond F12 has changed. The following explains:
1477 - F13-F24 are S-F1 to S-F12
1478 - F25-F36 are C-F1 to C-F12
1479 - F37-F48 are C-S-F1 to C-S-F12
1480 - F49-F60 are M-F1 to M-F12
1481 - F61-F63 are M-S-F1 to M-S-F3
1483 Therefore, F13 becomes a binding of S-F1, etc.
1484 * Support using pane id as part of session or window specifier (so % means
1485 session-of-%1 or window-of-%1) and window id as part of session
1486 (so @1 means session-of-@1).
1487 * 'copy-pipe' command now understands formats via -F
1488 * 'if-shell' command now understands formats via -F
1489 * 'split-window' and 'join-window' understand -b to create the pane to the left
1490 or above the target pane.
1492 CHANGES FROM 1.9 TO 1.9a, 22 February 2014
1494 NOTE: This is a bug-fix release to address some important bugs which just
1495 missed the 1.9 deadline, but were found afterwards.
1500 * Fix crash due to uninitialized lastwp member of layout_cell
1501 * Fix -fg/-bg/-style with 256 colour terminals.
1503 CHANGES FROM 1.8 TO 1.9, 20 February 2014
1505 NOTE: This release has bumped the tmux protocol version. It is therefore
1506 advised that the prior tmux server is restarted when this version of tmux is
1507 installed, to avoid protocol mismatch errors for newer clients trying to
1508 talk to an older running tmux server.
1510 Incompatible Changes
1511 ====================
1513 * 88 colour support has been removed.
1514 * 'default-path' has been removed. The new-window command accepts '-c' to
1515 cater for this. The previous value of "." can be replaced with: 'neww -c
1516 $PWD', the previous value of '' which meant current path of the pane can
1517 be specified as: 'neww -c "#{pane_current_path}"'
1522 * The single format specifiers: #A -> #Z (where defined) have been
1523 deprecated and replaced with longer-named equivalents, as listed in the
1524 FORMATS section of the tmux manpage.
1525 * The various foo-{fg,bg,attr} commands have been deprecated and replaced
1526 with equivalent foo-style option instead. Currently this is still
1527 backwards-compatible, but will be removed over time.
1532 * A new environment variable TMUX_TMPDIR is now honoured, allowing the
1533 socket directory to be set outside of TMPDIR (/tmp/ if not set).
1534 * If -s not given to swap-pane the current pane is assumed.
1535 * A #{pane_synchronized} format specifier has been added to be a conditional
1536 format if a pane is in a synchronised mode (c.f. synchronize-panes)
1537 * Tmux now runs under Cygwin natively.
1538 * Formats can now be nested within each other and expanded accordingly.
1539 * Added 'automatic-rename-format' option to allow the automatic rename
1540 mechanism to use something other than the default of
1541 #{pane_current_command}.
1542 * new-session learnt '-c' to specify the starting directory for that session
1543 and all subsequent windows therein.
1544 * The session name is now shown in the message printed to the terminal when
1545 a session is detached.
1546 * Lots more format specifiers have been added.
1547 * Server race conditions have been fixed; in particular commands are not run
1548 until after the configuration file is read completely.
1549 * Case insensitive searching in tmux's copy-mode is now possible.
1550 * attach-session and switch-client learnt the '-t' option to accept a window
1551 and/or a pane to use.
1552 * Copy-mode is only exited if no selection is in progress.
1553 * Paste key in copy-mode is now possible to enter text from the clipboard.
1554 * status-interval set to '0' now works as intended.
1555 * tmux now supports 256 colours running under fbterm.
1558 CHANGES FROM 1.7 TO 1.8, 26 March 2013
1560 Incompatible Changes
1561 ====================
1563 * layout redo/undo has been removed.
1568 * Add halfpage up/down bindings to copy mode.
1569 * Session choosing fixed to work with unattached sessions.
1570 * New window options window-status-last-{attr,bg,fg} to denote the last
1571 window which was active.
1572 * Scrolling in copy-mode now scrolls the region without moving the mouse
1574 * run-shell learnt '-t' to specify the pane to use when displaying output.
1575 * Support for middle-click pasting.
1576 * choose-tree learns '-u' to start uncollapsed.
1577 * select-window learnt '-T' to toggle to the last window if it's already
1579 * New session option 'assume-paste-time' for pasting text versus key-binding
1581 * choose-* commands now work outside of an attached client.
1582 * Aliases are now shown for list-commands command.
1583 * Status learns about formats.
1584 * Free-form options can be set with set-option if prepended with an '@'
1586 * capture-pane learnt '-p' to send to stdout, and '-e' for capturing escape
1587 sequences, and '-a' to capture the alternate screen, and '-P' to dump
1589 * Many new formats added (client_session, client_last_session, etc.)
1590 * Control mode, which is a way for a client to send tmux commands.
1591 Currently more useful to users of iterm2.
1592 * resize-pane learnt '-x' and '-y' for absolute pane sizing.
1593 * Config file loading now reports errors from all files which are loaded via
1594 the 'source-file' command.
1595 * 'copy-pipe' mode command to copy selection and pipe the selection to a
1597 * Panes can now emit focus notifications for certain applications
1599 * run-shell and if-shell now accept formats.
1600 * resize-pane learnt '-Z' for zooming a pane temporarily.
1601 * new-session learnt '-A' to make it behave like attach-session.
1602 * set-option learnt '-o' to prevent setting an option which is already set.
1603 * capture-pane and show-options learns '-q' to silence errors.
1604 * New command 'wait-for' which blocks a client until woken up again.
1605 * Resizing panes will now reflow the text inside them.
1606 * Lots and lots of bug fixes, fixing memory-leaks, etc.
1607 * Various manpage improvements.
1609 CHANGES FROM 1.6 TO 1.7, 13 October 2012
1611 * tmux configuration files now support line-continuation with a "\" at the
1613 * New option status-position to move the status line to the top or bottom of
1615 * Enforce history-limit option when clearing the screen.
1616 * Give each window a unique id, like panes but prefixed with @.
1617 * Add pane id to each pane in layout description (while still accepting
1619 * Provide defined ways to set the various default-path possibilities: ~
1620 for home directory, . for server start directory, - for session start
1621 directory and empty for the pane's working directory (the default). All
1622 can also be used as part of a relative path (eg -/foo). Also provide -c
1623 flags to neww and splitw to override default-path setting.
1624 * Add -l flag to send-keys to send input literally (without translating
1626 * Allow a single option to be specified to show-options to show just that
1628 * New command "move-pane" (like join-pane but allows the same window).
1629 * join-pane and move-pane commands learn "-b" option to place the pane to
1631 * Support for bracketed-paste mode.
1632 * Allow send-keys command to accept hex values.
1633 * Add locking around "start-server" to avoid race-conditions.
1634 * break-pane learns -P/-F arguments for display formatting.
1635 * set-option learns "-q" to make it quiet, and not print out anything.
1636 * copy mode learns "wrap-search" option.
1637 * Add a simple form of output rate limiting by counting the number of
1638 certain C0 sequences (linefeeds, backspaces, carriage returns) and if it
1639 exceeds a threshold (current default 250/millisecond), start to redraw
1640 the pane every 100 milliseconds instead of making each change as it
1641 comes. Two configuration options - c0-change-trigger and
1643 * find-window learns new flags: "-C", "-N", "-T" to match against either or
1644 all of a window's content, name, or title. Defaults to all three options
1646 * find-window automatically selects the appropriate pane for the found
1648 * show-environment can now accept one option to show that environment value.
1649 * Exit mouse mode when end-of-screen reached when scrolling with the mouse
1651 * select-layout learns -u and -U for layout history stacks.
1652 * kill-window, detach-client, kill-session all learn "-a" option for
1653 killing all but the current thing specified.
1654 * move-window learns "-r" option to renumber window sequentially in a
1656 * New session option "renumber-windows" to automatically renumber windows in
1657 a session when a window is closed. (see "move-window -r").
1658 * Only enter copy-mode on scroll up.
1659 * choose-* and list-* commands all use "-F" for format specifiers.
1660 * When spawning external commands, the value from the "default-shell" option
1661 is now used, rather than assuming /bin/sh.
1662 * New choose-tree command to render window/sessions as a tree for selection.
1663 * display-message learns new format options.
1664 * For linked-windows across sessions, all flags for that window are now
1665 cleared across sessions.
1666 * Lots and lots of bug fixes, fixing memory-leaks, etc.
1667 * Various manpage improvements.
1669 CHANGES FROM 1.5 TO 1.6, 23 January 2012
1671 * Extend the mode-mouse option to add a third choice which means the mouse
1672 does not enter copy mode.
1673 * Add a -r flag to switch-client to toggle the client read-only flag.
1674 * Add pane-base-index option.
1675 * Support \ for line continuation in the configuration file.
1676 * Framework for more powerful formatting of command output and use it for
1677 list-{panes,windows,sessions}. This allows more descriptive replacements
1678 (such as #{session_name}) and conditionals.
1679 * Mark dead panes with some text saying they are dead.
1680 * Reject $SHELL if it is not a full path.
1681 * Add -S option to refresh-client to redraw status line.
1682 * Add an else clause for if-shell.
1683 * Try to resolve relative paths for loadb and saveb (first, using client
1684 working directory, if any, then default-path or session working directory).
1685 * Support for \e[3J to clear the history and send the corresponding
1686 terminfo code (E3) before locking.
1687 * When in copy mode, make repeat count indicate buffer to replace, if used.
1688 * Add screen*:XT to terminal-overrides for tmux-in-tmux.
1689 * Status-line message attributes added.
1690 * Move word-separators to be a session rather than window option.
1691 * Change the way the working directory for new processes is discovered. If
1692 default-path isn't empty, it is used. Otherwise, if a new window is created
1693 from the command-line, the working directory of the client is used. If not,
1694 platform specific code is used to retrieve the current working directory
1695 of the process in the active pane. If that fails, the directory where the
1696 session was created is used, instead.
1697 * Do not change the current pane if both mouse-select-{pane,window} are
1699 * Add \033[s and \033[u to save and restore cursor position.
1700 * Allow $HOME to be used as default-path.
1701 * Add CNL and CPL escape sequences.
1702 * Calculate last position correctly for UTF-8 wide characters.
1703 * Add an option allow-rename to disable the window rename escape sequence.
1704 * Attributes for each type of status-line alert (ie bell, content and
1705 activity) added. Therefore, remove the superfluous options
1706 window-status-alert-{attr,bg,fg}.
1707 * Add a -R flag to send-keys to reset the terminal.
1708 * Add strings to allow the aixterm bright colours to be used when
1709 configuring colours.
1710 * Drop the ability to have a list of keys in the prefix in favour of two
1711 separate options, prefix and prefix2.
1712 * Flag -2 added to send-prefix to send the secondary prefix key.
1713 * Show pane size in top right of display panes mode.
1714 * Some memory leaks plugged.
1715 * More command-prompt editing improvements.
1716 * Various manpage improvements.
1717 * More Vi mode improvements.
1719 CHANGES FROM 1.4 TO 1.5, 09 July 2011
1721 * Support xterm mouse modes 1002 and 1003.
1722 * Change from a per-session stack of buffers to one global stack. This renders
1723 copy-buffer useless and makes buffer-limit now a server option.
1724 * Fix most-recently-used choice by avoiding reset the activity timer for
1725 unattached sessions every second.
1726 * Add a -P option to new-window and split-window to print the new window or
1727 pane index in target form (useful to pass it into other commands).
1728 * Handle a # at the end of a replacement string (such as status-left)
1730 * Support for UTF-8 mouse input (\033[1005h) which was added in xterm 262.
1731 If the new mouse-utf8 option is on, UTF-8 mouse input is enabled for all
1732 UTF-8 terminals. The option defaults to on if LANG etc are set in the same
1733 manner as the utf8 option.
1734 * Support for HP-UX.
1735 * Accept colours of the hex form #ffffff and translate to the nearest from the
1736 xterm(1) 256-colour set.
1737 * Clear the non-blocking IO flag (O_NONBLOCK) on the stdio file descriptors
1738 before closing them (fixes things like "tmux ls && cat").
1739 * Use TMPDIR if set.
1740 * Fix next and previous session functions to actually work.
1741 * Support -x and -y for new-session to specify the initial size of the window
1742 if created detached with -d.
1743 * Make bind-key accept characters with the top-bit-set and print them as octal.
1744 * Set $TMUX without the session when background jobs are run.
1745 * Simplify the way jobs work and drop the persist type, so all jobs are
1747 * Accept tcgetattr/tcsetattr(3) failure, fixes problems with fatal() if the
1748 terminal disappears while locked.
1749 * Add a -P option to detach to HUP the client's parent process (usually causing
1750 it to exit as well).
1751 * Support passing through escape sequences to the underlying terminal by using
1752 DCS with a "tmux;" prefix.
1753 * Prevent tiled producing a corrupt layout when only one column is needed.
1754 * Give each pane created in a tmux server a unique id (starting from 0), put it
1755 in the TMUX_PANE environment variable and accept it as a target.
1756 * Allow a start and end line to be specified for capture-pane which may be
1757 negative to capture part of the history.
1758 * Add -a and -s options to lsp to list all panes in the server or session
1759 respectively. Likewise add -s to lsw.
1760 * Change -t on display-message to be target-pane for the #[A-Z] replacements
1761 and add -c as target-client.
1762 * The attach-session command now prefers the most recently used unattached
1764 * Add -s option to detach-client to detach all clients attached to a session.
1765 * Add -t to list-clients.
1766 * Change window with mouse wheel over status line if mouse-select-window is on.
1767 * When mode-mouse is on, automatically enter copy mode when the mouse is
1768 dragged or the mouse wheel is used. Also exit copy mode when the mouse wheel
1769 is scrolled off the bottom.
1770 * Provide #h character pair for short hostname (no domain).
1771 * Don't use strnvis(3) for the title as it breaks UTF-8.
1772 * Use the tsl and fsl terminfo(5) capabilities to update terminal title and
1773 automatically fill them in on terminals with the XT capability (which means
1774 their title setting is xterm-compatible).
1775 * Add a new option, mouse-resize-pane. When on, panes may be resized by
1776 dragging their borders.
1777 * Fix crash by resetting last pane on {break,swap}-pane across windows.
1778 * Add three new copy-mode commands - select-line, copy-line, copy-end-of-line.
1779 * Support setting the xterm clipboard when copying from copy mode using the
1780 xterm escape sequence for the purpose (if xterm is configured to allow it).
1781 * Support xterm(1) cursor colour change sequences through terminfo(5) Cc
1782 (set) and Cr (reset) extensions.
1783 * Support DECSCUSR sequence to set the cursor style with two new terminfo(5)
1784 extensions, Cs and Csr.
1785 * Make the command-prompt custom prompts recognize the status-left option
1787 * Add a respawn-pane command.
1788 * Add a couple of extra xterm-style keys that gnome terminal provides.
1789 * Allow the initial context on prompts to be set with the new -I option to
1790 command-prompt. Include the current window and session name in the prompt
1791 when renaming and add a new key binding ($) for rename session.
1792 * Option bell-on-alert added to trigger the terminal bell when there is an
1794 * Change the list-keys format so that it shows the keys using actual tmux
1795 commands which should be able to be directly copied into the config file.
1796 * Show full targets for lsp/lsw -a.
1797 * Make confirm-before prompt customizable with -p option like command-prompt
1798 and add the character pairs #W and #P to the default kill-{pane,window}
1800 * Avoid sending data to suspended/locked clients.
1801 * Small memory leaks in error paths plugged.
1802 * Vi mode improvements.
1804 CHANGES FROM 1.3 TO 1.4, 27 December 2010
1806 * Window bell reporting fixed.
1807 * Show which pane is active in the list-panes output.
1809 * Prevent the server from dying when switching into copy mode when already
1810 in a different mode.
1811 * Reset running jobs when the status line is enabled or disabled.
1812 * Simplify xterm modifier detection.
1813 * Avoid crashing in copy mode if the screen size is too small for the
1815 * Flags -n and -p added to switch-client.
1816 * Use UTF-8 line drawing characters on UTF-8 terminals, thus fixing some
1817 terminals (eg putty) which disable the vt100 ACS mode switching sequences
1818 in UTF-8 mode. On terminals without ACS, use ASCII equivalents.
1819 * New server option exit-unattached added.
1820 * New session option destroy-unattached added.
1821 * Fall back on normal session choice method if $TMUX exists but is invalid
1822 rather than rejecting.
1823 * Mark repeating keys with "(repeat)" in the key list.
1824 * When removing a pane, don't change the active pane unless the active pane
1825 is actually the one being removed.
1826 * New command last-pane added.
1828 * Flag -a added to unbind-key.
1829 * Add XAUTHORITY to update-environment.
1830 * More info regarding window and pane flags is now shown in list-*.
1831 * If VISUAL or EDITOR contains "vi" configure mode-keys and status-key to vi.
1832 * New window option monitor-silence and session option visual-silence added.
1833 * In the built-in layouts distribute the panes more evenly.
1834 * Set the default value of main-pane-width to 80 instead of 81.
1835 * Command-line flag -V added.
1836 * Instead of keeping a per-client prompt history make it global.
1837 * Fix rectangle copy to behave like emacs (the cursor is not part of the
1838 selection on the right edge but on the left it is).
1839 * Flag -l added to switch-client.
1840 * Retrieve environment variables from the global environment rather than
1841 getenv(3), thus allowing them to be updated during the configuration file.
1842 * New window options other-pane-{height,width} added.
1843 * More minor bugs fixed and manpage improvements.
1845 CHANGES FROM 1.2 TO 1.3, 18 July 2010
1848 * Flags to move through panes -UDLR added to select-pane.
1849 * Commands up-pane, and down-pane removed, since equivalent behaviour is now
1850 available through the target flag (-t:+ and -t:-).
1851 * Jump-forward/backward in copy move (based on vi's F, and f commands).
1852 * Make paste-buffer accept a pane as a target.
1853 * Flag -a added to new-window to insert a window after an existing one, moving
1854 windows up if necessary.
1855 * Merge more mode into copy mode.
1856 * Run job commands explicitly in the global environment (which can be modified
1857 with setenv -g), rather than with the environment tmux started with.
1858 * Use the machine's hostname as the default title, instead of an empty string.
1859 * Prevent double free if the window option remain-on-exit is set.
1860 * Key string conversions rewritten.
1861 * Mark zombie windows as dead in the choose-window list.
1862 * Tiled layout added.
1863 * Signal handling reworked.
1864 * Reset SIGCHLD after fork to fix problems with some shells.
1865 * Select-prompt command removed. Therefore, bound ' to command-prompt -p index
1866 "select-window -t:%%" by default.
1867 * Catch SIGHUP and terminate if running as a client, thus avoiding clients from
1868 being left hanging around when, for instance, a SSH session is disconnected.
1869 * Solaris 9 fixes (such as adding compat {get,set}env(3) code).
1870 * Accept none instead of default for attributes.
1871 * Window options window-status-alert-{alert,bg,fg} added.
1872 * Flag -s added to the paste-buffer command to specify a custom separator.
1873 * Allow dragging to make a selection in copy mode if the mode-mouse option is
1875 * Support the mouse scroll wheel.
1876 * Make pipe-pane accept special character sequences (eg #I).
1877 * Fix problems with window sizing when starting tmux from .xinitrc.
1878 * Give tmux sockets (but not the containing folder) group permissions.
1879 * Extend the target flags (ie -t) to accept an offset (for example -t:+2), and
1880 make it wrap windows, and panes.
1881 * New command choose-buffer added.
1882 * New server option detach-on-destroy to set what happens to a client when the
1883 session it is attached to is destroyed. If on (default), the client is
1884 detached. Otherwise, the client is switched to the most recently active of
1885 the remaining sessions.
1886 * The commands load-buffer, and save-buffer now accept a dash (-) as the file
1887 to read from stdin, or write to stdout.
1888 * Custom layouts added.
1889 * Additional code reduction, bug fixes, and manpage enhancements.
1891 CHANGES FROM 1.1 TO 1.2, 10 March 2010
1893 * Switch to libevent.
1894 * Emulate the ri (reverse index) capability, ergo allowing tmux to at least
1895 start on Sun consoles (TERM=sun, or sun-color).
1896 * Assign each entry a number, or lowercase letter in choose mode, and accept
1897 that as a shortcut key.
1898 * Permit top-bit-set characters to be entered in the status line.
1899 * Mark no-prefix keys with (no prefix), rather than [] in list-keys.
1900 * New command show-messages (alias showmsgs), and new session option
1901 message-limit, to show a per-client log of status lines messages up to the
1902 number defined by message-limit.
1903 * Do not interpret #() for display-message to avoid leaking commands.
1904 * New window options window-status-format, and window-status-current-format to
1905 control the format of each window in the status line.
1906 * Add a -p flag to display-message to print the output, instead of displaying
1907 it in the status line.
1908 * Emulate il1, dl1, ich1 to run with vt100 feature set.
1909 * New command capture-pane (alias capturep) to copy the entire pane contents
1911 * Avoid duplicating code by adding a -w flag to set-option, and show-options to
1912 set, and show window options. The commands set-window-option, and
1913 show-window-options are now aliases.
1914 * Panes can now be referred to as top, bottom, top-left, etc.
1915 * Add server-wide options, which can be set with set-option -s, and shown with
1917 * New server option quiet (like -q from the command line).
1918 * New server option escape-time to set the timeout used to detect if escapes
1919 are alone, part of a function key, or meta sequence.
1920 * New session options pane-active-border-bg, pane-active-border-fg,
1921 pane-border-bg, and pane-border-fg to set pane colours.
1922 * Make split-window accept a pane target, instead of a window.
1923 * New command join-pane (alias joinp) to split, and move an existing pane into
1924 the space (the opposite of break-pane), thus simplifying calls to
1925 split-window, followed by move-window.
1926 * Permit S- prefix on keys for shift when the terminal/terminfo supports them.
1927 * Window targets (-t flag) can now refer to the last window (!), next (+), and
1928 previous (-) window by number.
1929 * Mode keys to jump to the bottom/top of history, end of the next word, scroll
1930 up/down, and reverse search in copy mode.
1931 * New session option display-panes-active-colour to display the active pane in
1932 a different colour with the display-panes command.
1933 * Read the socket path from $TMUX if it's present, and -L, and -S are not
1935 * Vi-style mode keys B, W, and E to navigate between words in copy mode.
1936 * Start in more mode when configuration file errors are detected.
1937 * Rectangle copy support added.
1938 * If attach-session was specified with the -r flag, make the client read-only.
1939 * Per-window alternate-screen option.
1940 * Make load-buffer work with FIFOs.
1941 * New window option word-separators to set the characters considered as word
1942 separators in copy mode.
1943 * Permit keys in copy mode to be prefixed by a repeat count, entered with [1-9]
1944 in vi mode, or M-[1-9] in emacs mode.
1945 * utf8 improvements.
1946 * As usual, additional code reduction, bug fixes, and manpage enhancements.
1948 CHANGES FROM 1.0 TO 1.1, 05 November 2009
1950 * New run-shell (alias run) command to run an external command without a
1951 window, capture it's stdout, and send it to output mode.
1952 * Ability to define multiple prefix keys.
1953 * Internal locking mechanism removed. Instead, detach each client and run the
1954 external command specified in the new session option lock-command (by default
1955 lock -np), thus allowing the system password to be used.
1956 * set-password command, and -U command line flag removed per the above change.
1957 * Add support for -c command line flag to execute a shell command.
1958 * New lock-client (alias lockc), and lock-session (alias locks) commands to
1959 lock a particular client, or all clients attached to a session.
1960 * Support C-n/C-p/C-v/M-v with emacs keys in choice mode.
1961 * Use : for goto line rather than g in vi mode.
1962 * Try to guess which client to use when no target client was specified. Finds
1963 the current session, and if only one client is present, use it. Otherwise,
1964 return the most recently used client.
1965 * Make C-Down/C-Up in copy mode scroll the screen down/up one line without
1967 * Scroll mode superseded by copy mode.
1968 * New synchronize-panes window option to send all input to all other panes in
1970 * New lock-server session option to lock, when off (on by default), each
1971 session when it has been idle for the lock-after-time setting. When on, the
1972 entire server locks when all sessions have been idle for their individual
1973 lock-after-time setting.
1974 * Add support for grouped sessions which have independent name, options,
1975 current window, but where the linked windows are synchronized (ie creating,
1976 killing windows are mirrored between the sessions). A grouped session may be
1977 created by passing -t to new-session.
1978 * New mouse-select-pane session option to select the current pane with the
1980 * Queue, and run commands in the background for if-shell, status-left,
1981 status-right, and #() by starting each once every status-interval. Adds the
1982 capability to call some programs which would previously cause the server to
1983 hang (eg sleep/tmux). It also avoids running commands excessively (ie if used
1984 multiple times, it will be run only once).
1985 * When a window is zombified and automatic-rename is on, append [dead] to the
1987 * Split list-panes (alias lsp) off from list-windows.
1988 * New pipe-pane (alias pipep) to redirect a pane output to an external command.
1989 * Support for automatic-renames for Solaris.
1990 * Permit attributes to be turned off in #[] by prefixing with no (eg nobright).
1991 * Add H/M/L in vi mode, and M-R/M-r in emacs to move the cursor to the top,
1992 middle, and bottom of the screen.
1993 * -a option added to kill-pane to kill all except current pane.
1994 * The -d command line flag is now gone (can be replaced by terminal-overrides).
1995 Just use op/AX to detect default colours.
1996 * input/tty/utf8 improvements.
1997 * xterm-keys rewrite.
1998 * Additional code reduction, and bug fixes.
2000 CHANGES FROM 0.9 TO 1.0, 20 September 2009
2002 * Option to alter the format of the window title set by tmux.
2003 * Backoff for a while after multiple incorrect password attempts.
2004 * Quick display of pane numbers (C-b q).
2005 * Better choose-window, choose-session commands and a new choose-client command.
2006 * Option to request multiple responses when using command-prompt.
2007 * Improved environment handling.
2008 * Combine wrapped lines when pasting.
2009 * Option to override terminal settings (terminal-overrides).
2010 * Use the full range of ACS characters for drawing pane separator lines.
2011 * Customisable mode keys.
2012 * Status line colour options, with embedded colours in status-left/right, and
2013 an option to centre the window list.
2014 * Much improved layouts, including both horizontal and vertical splitting.
2015 * Optional visual bell, activity and content indications.
2016 * Set the utf8 and status-utf8 options when the server is started with -u.
2017 * display-message command to show a message in the status line, by default some
2018 information about the current window.
2019 * Improved current process detection on NetBSD.
2020 * unlink-window -k is now the same as kill-window.
2021 * attach-session now works from inside tmux.
2022 * A system-wide configuration file, /etc/tmux.conf.
2023 * A number of new commands in copy mode, including searching.
2024 * Panes are now specified using the target (-t) notation.
2025 * -t now accepts fnmatch(3) patterns and looks for prefixes.
2026 * Translate \r into \n when pasting.
2027 * Support for binding commands to keys without the prefix key
2028 * Support for alternate screen (terminfo smcup/rmcup).
2029 * Maintain data that goes off screen after reducing the window size, so it can
2030 be restored when the size is increased again.
2031 * New if-shell command to test a shell command before running a tmux command.
2032 * tmux now works as the shell.
2033 * Man page reorganisation.
2034 * Many minor additions, much code tidying and several bug fixes.
2036 CHANGES FROM 0.8 TO 0.9, 01 July 2009
2038 * Major changes to build infrastructure: cleanup of makefiles and addition
2039 of a configure script.
2040 * monitor-content window option to monitor a window for a specific fnmatch(3)
2041 pattern. The find-window command also now accepts fnmatch(3) patterns.
2042 * previous-layout and select-layout commands, and a main-horizontal layout.
2043 * Recreate the server socket on SIGUSR1.
2044 * clear-history command.
2045 * Use ACS line drawing characters for pane separator lines.
2046 * UTF-8 improvements, and code to detect UTF-8 support by looking at
2047 environment variables.
2048 * The resize-pane-up and resize-pane-down commands are now merged together
2049 into a new resize-pane command with -U and -D flags.
2050 * confirm-before command to request a yes/no answer before executing dangerous
2052 * Status line bug fixes, support for UTF-8 (status-utf8 option), and a key to
2053 paste from the paste buffer.
2054 * Support for some additional escape sequences and terminal features, including
2055 better support for insert mode and tab stops.
2056 * Improved window resizing behaviour, modelled after xterm.
2057 * Some code reduction and a number of miscellaneous bug fixes.
2059 ================================================================================
2061 On 01 June 2009, tmux was imported into the OpenBSD base system. From this date
2062 onward changes are logged as part of the normal CVS commit message to either
2063 OpenBSD or SourceForge CVS. This file will be updated to contain a summary of
2064 major changes with each release, and to mention important configuration or
2065 command syntax changes during development.
2067 The list of older changes is below.
2069 ================================================================================
2073 * stat(2) files before trying to load them to avoid problems, for example
2074 with "source-file /dev/zero".
2078 * Try to guess if the window is UTF-8 by outputting a three-byte UTF-8 wide
2079 character and seeing how much the cursor moves. Currently tries to figure out
2080 if this works by some stupid checks on the terminal, these need to be
2081 rethought. Also might be better using a width 1 character rather than width 2.
2082 * If LANG contains "UTF-8", assume the terminal supports UTF-8, on the grounds
2083 that anyone who configures it probably wants UTF-8. Not certain if this is
2084 a perfect idea but let's see if it causes any problems.
2085 * New window option: monitor-content. Searches for a string in a window and if
2086 it matches, highlight the status line.
2090 * main-horizontal layout and main-pane-height option to match vertical.
2091 * New window option main-pane-width to set the width of the large left pane with
2092 main-vertical (was left-vertical) layout.
2093 * Lots of layout cleanup. manual layout is now manual-vertical.
2097 * select-layout command and a few default key bindings (M-0, M-1, M-2, M-9) to
2099 * Recreate server socket on SIGUSR1, per SF feature request 2792533.
2103 * Keys in status line (p in vi mode, M-y in emacs) to paste the first line
2104 of the upper paste buffer. Suggested by Dan Colish.
2105 * clear-history command to clear a pane's history.
2106 * Don't force wrapping with \n when asked, let the cursor code figure it out.
2107 Should fix terminals which use this to detect line breaks.
2108 * Major cleanup and restructuring of build infrastructure. Still separate files
2109 for GNU and BSD make, but they are now hugely simplified at the expense of
2110 adding a configure script which must be run before make. Now build and
2113 $ ./configure && make && sudo make install
2117 * Use ACS line drawing characters for pane separator lines.
2121 * Support command sequences without a space before the semicolon, for example
2122 "neww; neww" now works as well as "neww ; neww". "neww;neww" is still an
2124 * previous-layout command.
2125 * Display the layout name in window lists.
2126 * Merge resize-pane-up and resize-pane-down into resize-pane with -U and -D
2131 * Get rid of compat/vis.* - only one function was used which is easily
2132 replaced,and less compat code == good.
2136 * Avoid using the prompt history when the server is locked, and prevent any
2137 input entered from being added to the client's prompt history.
2138 * New command, confirm-before (alias confirm), which asks for confirmation
2139 before executing a command. Bound "&" and "x" by default to confirm-before
2140 "kill-window" and confirm-before "kill-pane", respectively.
2144 * Support NEL, yet another way of making newline. Fixes the output from some
2145 Gentoo packaging thing. Reported by someone on SF then logs that allowed a
2147 * Use the xenl terminfo flag to detect early-wrap terminals like the FreeBSD
2148 console. Many thanks for a very informative email from Christian Weisgerber.
2152 * tmux 0.8 released.
2156 * Remove the right number of characters from the buffer when escape then
2157 a cursor key (or other key prefixed by \033) is pressed. Reported by
2162 * rotate-window command. -U flag (default) for up, -D flag for down.
2166 * Change scroll/pane redraws to only redraw the single pane affected rather
2167 than the entire window.
2168 * If redrawing the region would mean redrawing > half the pane, just schedule
2169 to redraw the entire window. Also add a flag to skip updating the window any
2170 further if it is scheduled to be redrawn. This has the effect of batching
2171 multiple redraws together.
2175 * Basic horizontal splitting and layout management. Still some redraw and other
2176 issues - particularly, don't mix with manual pane resizing, be careful when
2177 viewing from multiple clients and don't expect shell windows to redraw very
2178 well after the layout is changed; generally cycling the layout a few times
2179 will fix most problems. Getting this in for testing while I think about how
2180 to deal with manual mode.
2182 Split window as normal and cycle the layouts with C-b space. Some of the
2183 layouts will work better when swap-pane comes along.
2187 * AIX port, thanks to cmihai for access to a box. Only tested on 6.1 with xlc
2188 10.1 (make sure CC is set). Needs GNU make and probably ncurses (didn't try
2189 plain curses). Also won't build with DEBUG, so comment the FDEBUG=1 line in
2191 * Draw a vertical line on the right when the window size is less than the
2192 terminal size. This is partly to shake out any horizontal limit bugs on the
2193 way to horizontal splitting/pane tiling. Currently a bit slow since it has to
2194 do a lot of redrawing but hopefully that will improve as I get some better
2195 ideas for how to do it.
2196 * Fix remaining problems with copy and paste and UTF-8.
2200 * Better UTF-8 support, including combined characters. Unicode data is now
2201 stored as UTF-8 in a separate array, the code does a lookup into this every
2202 time it gets to a UTF-8 cell. Zero width characters are just appended onto
2203 the UTF-8 data for the previous cell. This also means that almost no bytes
2204 extra are wasted non-Unicode data (yay).
2206 Still some oddities, such as copy mode skips over wide characters in a
2207 strange way, and the code could do with some tidying.
2208 * Key repeating is now a property of the key binding not of the command.
2209 Repeat is turned on when the key is bound with the -r flag to bind-key.
2210 next/previous-window no longer repeat by default as it turned out to annoy
2215 * Clear using ED when redrawing the screen. I foolishly assumed using spaces
2216 would be equivalent and terminals would pick up on this, but apparently not.
2217 This fixes copy and paste in xterm/rxvt.
2218 * Sockets in /tmp are now created in a subdirectory named, tmux-UID, eg
2219 tmux-1000. The default socket is thus /tmp/tmux-UID/default. To start a
2220 separate server, the new -L command line option should be used: this creates
2221 a socket in the same directory with a different name ("-L main" will create
2222 socket called "main"). -S should only be used to place the socket outside
2223 /tmp. This makes sockets a little more secure and a bit more convenient to
2224 use multiple servers.
2228 * New session flag "set-remain-on-exit" to set remain-on-exit flag for new
2229 windows created in that session (like "remain-by-default" used to do). Not
2230 perfectly happy about this, but until I can think of a good way to introduce
2231 it generically (maybe a set of options in the session) this will do. Fixes
2236 * Support for 88 colour terminals.
2237 * break-pane command to create a new window using an existing pane.
2241 * Make escape key timer work properly so escape+key can be used without
2242 lightning fast key presses.
2246 * Redo mode keys slightly more cleanly and apply them to command prompt
2247 editing. vi or emacs mode is controlled by the session option status-keys.
2251 * Looking up argv[0] is expensive, so just use p_comm for the window name which
2252 is good enough. Also increase name update time to 500 ms.
2256 * Only use ri when actually at the top of the screen; just move the cursor up
2258 * FreeBSD's console wraps lines at $COLUMNS - 1 rather than $COLUMNS (the
2259 cursor can never be beyond $COLUMNS - 1) and does not appear to support
2260 changing this behaviour, or any of the obvious possibilities (turning off
2261 right margin wrapping, insert mode). This is irritating, most notably because
2262 it impossible to write to the very bottom-right of the screen without
2263 scrolling. To work around this, if built on FreeBSD and run with a "cons"
2264 $TERM, the bottom-right cell on the screen is omitted.
2265 * Emulate scroll regions (slowly) to support the few terminals which don't have
2266 it (some of which don't really have any excuse).
2270 * No longer redraw the status line every status-interval unless it has actually
2275 * Don't treat empty arguments ("") differently when parsing configuration
2276 file/command prompt rather than command line.
2277 * tmux 0.7 released.
2281 * New command, copy-buffer (alias copyb), to copy a session paste buffer to
2286 * The character pair #(command) may now contain (escaped) right parenthesis.
2290 * . now bound to "command-prompt 'move-window %%'" by default, from joshe.
2294 * Window options to set status line fg, bg and attributes for a single
2295 window. Options are: window-status-fg, window-status-bg,
2296 window-status-attr. Set to "default" to use the session status colours.
2298 This allows quite neat things like:
2303 if [ ! -z "$TMUX" ]; then
2306 tmux setw window-status-fg red >/dev/null
2309 tmux setw window-status-fg yellow >/dev/null
2314 [ ! -z "$TMUX" ] && tmux setw -u window-status-fg >/dev/null
2315 $ alias ssh="~/bin/xssh"
2317 * Support #(command) in status-left, and status-right, which is displayed as
2318 the first line of command's output (e.g. set -g status-right
2319 "#(whoami)@#(hostname -s)"). Commands with )s aren't supported.
2323 * Support mouse in copy mode to move cursor. Can't do anything else at the
2324 moment until other mouse modes are handled.
2325 * Better support for at least the most common variant of mouse input: parse it
2326 and adjust for different panes. Also support mouse in window/session choice
2331 * Bring back the fancy window titles with session/window names: it is easy to
2332 work around problems with elinks (see FAQ).
2333 * -u flag to scroll-mode and copy-mode to start scrolled one page
2334 up. scroll-mode -u is bound to prefix,page-up (ppage) by default.
2335 * Allow status, mode and message attributes to be changed by three new options:
2336 status-attr, mode-attr, message-attr. A comma-separated list is accepted
2337 containing: bright, dim, underscore, blink, reverse, hidden, italics, for
2340 set -g status-attr bright,blink
2342 From Josh Elsasser, thanks!
2346 * Be more clever about picking the right process to create the window name.
2347 * Don't balls up the terminal on UTF-8 combined characters. Don't support them
2348 properly either - they are just discarded for the moment.
2352 * load-buffer command
2356 * Use reverse colours rather than swapping fg and bg for message, mode and
2357 status line. This makes these usable on black and white terminals.
2358 * Better error messages when creating a session or window fails.
2359 * Oops. Return non-zero on error. Reported by Will Maier.
2363 * Handle SIGTERM (and kill-server which uses it), a bit more neatly - tidy
2364 up properly and print a nicer message. Same effect though :-).
2365 * new-window now supports -k to kill target window if it exists.
2366 * Bring back split-window -p and -l options to specify the height a percentage
2367 or as a number of lines.
2368 * Make window and session choice modes allow you to choose items in vi keys
2369 mode (doh!). As a side-effect, this makes enter copy selection (as well
2370 as C-w/M-w) when using emacs keys in copy mode. Reported by merdely.
2374 * Darwin support for automatic-rename from joshe; Darwin doesn't seem to have
2375 a sane method of getting argv[0] and searching for the precise insane way
2376 is too frustrating, so this just uses the executable name.
2377 * Try to change the window title to match the command running it in. This is
2378 done by reading argv[0] from the process group leader of the group that owns
2379 the tty (tcgetpgrp()). This can't be done portably so some OS-dependent code
2380 is introduced (ugh); OpenBSD, FreeBSD and Linux are supported at the moment.
2382 A new window flag, automatic-rename, is available: if this is set to off, the
2383 window name is not changed. Specifying a name with the new-window,
2384 new-session or rename-window commands will automatically set this flag to off
2385 for the window in question. To disable it entirely set the option to off
2386 globally (setw -g automatic-rename off).
2390 * Fix various stupid issues when the status line is turned off. Grr.
2391 * Use reverse attributes for clock and cursor, otherwise they do not
2392 appear on black and white terminals.
2393 * An error in a command sequence now stops execution of that sequence.
2394 Internally, each command code now passes a return code back rather than
2395 talking to the calling client (if any) directly.
2396 * attach-session now tries to start the server if it isn't already started - if
2397 no sessions are created in .tmux.conf this will cause an error.
2398 * Clean up starting server by making initial client get a special socketpair.
2403 * -a flag to next-window and previous-window to select the next or previous
2404 window with activity or bell. Bound to M-n and M-p.
2405 * find-window command to search window names, titles and visible content (but
2406 not history) for a string. If only one is found, the window is selected
2407 otherwise a choice list is shown. This (as with the other choice commands)
2408 only works from a key. Bound to "f" by default.
2409 * Cleaned up command printing code, also enclose arguments with spaces in "s.
2410 * Added command sequences. These are entered by separating each argument by a ;
2411 argument (spaces on both sides), for example:
2415 To use a literal ; as the argument prefix it with \, for example:
2419 Commands are executed from left to right. Also note that command sequences do
2420 not support repeat-time repetition unless all commands making up the sequence
2422 * suspend-client command to suspend a client. Don't try to background it
2424 * Mark attached sessions in sessions lists. Suggested by Simon Kuhnle.
2428 * tmux 0.6 released.
2432 * Support #H for hostname and #S for session name in status-left/right.
2433 * Two new commands, choose-window and choose-session which work only when bound
2434 to a key and allow the window or session to be selected from a list. These
2435 are now bound to "w" and "s" instead of the list commands.
2439 * Rework the prefix-time stuff. The option is now called repeat-time and
2440 defaults to 500 ms. It only applies to a small subset of commands, currently:
2441 up-pane, down-pane, next-window, previous-window, resize-pane-up,
2442 resize-pane-down. These are the commands for which it is obviously useful,
2443 having it for everything else was just bloody annoying.
2444 * The alt-up and alt-down keys now resize a pane by five lines at a time.
2445 * switch-pane is now select-pane and requires -p to select a pane. The
2446 "o" key binding is changed to down-pane.
2447 * up-pane and down-pane commands, bound to arrow up and down by default.
2448 * Multiple vertical window splitting. Minimum pane size is four lines, an
2449 (unhelpful) error will be shown if attempting to split a window with less
2450 that eight lines. If the window is resized, as many panes are shown as can
2451 fit without reducing them below four lines. There is (currently!) not a way
2452 to show a hidden pane without making the window larger.
2454 Note the -p and -l options to split-window are now gone, these may reappear
2455 once I think them through again.
2456 * Server locking on inactivity (lock-after-time) is now disabled by default.
2460 * kill-pane command.
2464 * command-prompt now accepts a single argument, a template string. Any
2465 occurrences of %% in this string are replaced by whatever is entered at the
2466 prompt and the result is executed as a command. This allows things like (now
2469 bind , command-prompt "rename-window %%"
2473 bind x command-prompt "split-window 'man %%'"
2475 * Option to set prefix time, allowing multiple commands to be entered without
2476 pressing the prefix key again, so long as they each typed within this time of
2478 * Yet more hacks for key handling. Think it is just about working now.
2479 * Two commands, resize-pane-up and resize-pane-down to resize a pane.
2480 * Make the window pane code handle panes of different sizes, and add a -l
2481 and -p arguments to split-window to specify the new window size in lines
2486 * Vertical window splitting. Currently can only split a window into two panes.
2487 New split-window command splits (bound to ") and switch-pane command (bound to
2488 o) switches between panes.
2490 close-pane, swap-pane commands are to follow. Also to come are pane resizing,
2491 >2 panes, the ability to break a pane out to a full window and vice versa and
2492 possibly horizontal splitting.
2494 Panes are subelements of windows rather than being windows in their own
2495 right. I tried to make them windows (so the splitting was at the session or
2496 client level) but this rapidly became very complex and invasive. So in the
2497 interests of having something working, I just made it so each window can have
2498 two child processes instead of one (and it still took me 12 hours straight
2499 coding). Now the concept is proven and much of the support code is there,
2500 this may change in future if more flexibility is needed.
2501 * save-buffer command, from Tiago Cunha.
2505 * New option, lock-after-time. If there is no activity in the period specified
2506 by this option (in seconds), tmux will lock the server. Default is 1800 (30
2507 minutes), set to 0 to disable.
2508 * Server locking. Two new commands: set-password to set a password (a
2509 preencrypted password may be specified with -c); and lock-server to lock the
2510 server until the password is entered. Also an additional command line flag,
2511 -U, to unlock from the shell. The default password is blank (any password
2512 accepted). If specifying an encrypted password from encrypt(1) in .tmux.conf
2513 with -c, don't forget to enclose it in single-quotes (') to prevent shell
2515 * If a window is created from the command line, tmux will now use the same
2516 current working directory for the new process. A new default-path option to
2517 sets the working directory for processes created from keys or interactively
2519 * New mode to display a large clock. Entered with clock-mode command (bound to
2520 C-b t by default); two window options: clock-mode-colour and clock-mode-style
2521 (12 or 24). This will probably be used as the basis for window locking.
2522 * New command, server-info, to show some server information and terminal
2527 * Stop using ncurses variables and instead build a table of the codes we want
2528 into an array for each terminal type. This makes the code a little more
2529 untidy in places but gets rid of the awful global variables and calling
2530 setterm all the time, and shoves all the ncurses-dependent mess into a single
2531 file, tty-term.c. It also allows overriding single terminal codes, this is
2532 used to fix rxvt on some platforms (where it is missing dch) and in future
2533 may allow user customisation a la vim.
2534 * Update key handling code. Simplify, support ctrl properly and add a new
2535 window option (xterm-keys) to output xterm key codes including ctrl and,
2536 if available, alt and shift.
2540 * If built without DEBUG (the release versions), don't cause a fatal error if
2541 the grid functions notice an input error, just log and ignore the
2542 request. This might mean me getting shouted at less often when bugs kill
2543 long-running sessions, at least in release versions.
2544 * Hopefully fix cursor out-of-bounds checking when writing to grid. When I
2545 wrote the code I must have forgotten that the cursor can be one cell off the
2546 right of the screen (yes, I know), so there were number of out-of-bounds/
2551 * New flag to set and setw, -u, to unset an option (allowing it to inherit from)
2552 the global options again.
2553 * Added more info messages for options changes.
2554 * A bit of tidying and reorganisation of options code.
2558 * Don't crash when backspacing if cursor is off the right of the screen,
2559 reported by David Chisnall.
2560 * Complete words at any point inside command in prompt, also use option name
2561 as well as command names.
2562 * Per-client prompt history of up to 100 items.
2563 * Use a splay tree for key bindings instead of an array. As a side-effect this
2564 sorts them when listed.
2568 * Use the right keys for home and end.
2572 * Add vim mode for tmux configuration file to examples/, from Tiago Cunha.
2576 * New command, source-file (alias source), to load a configuration
2577 file. Written by Tiago Cunha, many thanks.
2581 * Work around lack of dch. On Linux, the rxvt termcap doesn't have it (it is
2582 lying, but we can't really start disbelieving termcaps...). This is a bit
2583 horrible - I can see no way to do it without pretty much redrawing the whole
2584 line, but it works...
2588 * glibc's getopt(3) is useless: it is not POSIX compliant without jumping
2589 through non-portable hoops, and the method of resetting it is unclear (the
2590 man page on my system says set optind to 1, but other sources say 0). So,
2591 import OpenBSD's getopt_long.c into compat/ for use on Linux and use the
2592 clearly documented optreset = optind = 1 method. This fixes some strange
2593 issues with command parsing (getting the syntax wrong would prevent any
2594 further commands being parsed).
2598 * Bring set/setw/show/showw into line with other commands. This means that by
2599 default they now affect the current window (if any); the new -g flag must be
2600 passed to set the global options. This changes the behaviour of set/show and
2601 WILL BREAK CURRENT CONFIGURATIONS.
2603 In summary, whether in the configuration file, the command prompt, or a key
2604 binding, use -g to set a global option, use -t to specify a particular window
2605 or session, or omit both to try and use the current window or session.
2607 This makes set/show a bit of a pain but is the correct behaviour for
2608 setw/showw and is the same as every other command, so we can put up with a
2609 bit of pain for consistency.
2610 * Redo window options. They now work in the same way to session options with a
2611 global options set. showw/setw commands now have similar syntax to show/set
2612 (including the ability to use abbreviations).
2614 PLEASE NOTE this includes the following configuration-breaking changes:
2616 - remain-by-default is now GONE, use "setw -g remain-on-exit" to apply the
2617 global window option instead;
2618 - mode-keys is now a window option rather than session - use "setw [-g]
2619 mode-keys" instead of set.
2621 There are also some additions:
2623 - message-fg and message-bg session options to control status line message
2625 - mode-fg and mode-bg window options to set colours in window modes such as
2628 The options code still a mess and now there is twice as much of it :-(.
2632 * Add support for including the window title in status-left or status-right
2633 strings by including the character pair "#T". This may be prefixed with
2634 a number to specify a maximum length, for example "#24T" to use at most
2635 24 characters of the title.
2636 * Introduce two new options, status-left-length and status-right-length,
2637 control the maximum length of left and right components of the status bar.
2638 * elinks (and possibly others) bypass the terminal and talk directly to X to
2639 restore the window title when exiting. tmux can't know about this particular
2640 bit of stupidity so the title ends up strange - the prefix isn't terribly
2641 important and elinks is quite useful so just get rid of it.
2645 * Tweaks to support Dragonfly.
2649 * tmux 0.5 released.
2653 * New window option: "utf8"; this must be on (it is off by default) for UTF-8
2654 to be parsed. The global/session option "utf8-default" controls the setting
2657 This means that by default tmux does not handle UTF-8. To use UTF-8 by
2658 default it is necessary to a) "set utf8-default on" in .tmux.conf b) start
2659 tmux with -u on any terminal which support UTF-8.
2661 It seems a bit unnecessary for this to be a per-window option but that is
2662 the easiest way to do it, and it can't do any harm...
2663 * Enable default colours if op contains \033[39;49m, based on a report from
2668 * Keep stack of last windows rather than just most recent; based on a diff from
2673 * Don't try to redraw status line when showing a prompt or message; if it does,
2674 the status timer is never reset so it redraws on every loop. Spotted by
2679 * Translate 256 colours into 16 if 256 is not available, same as screen does.
2680 * Better support for OSC command (only to set window title now), and also
2681 support using APC for the same purpose (some Linux default shell profiles do
2686 * Large internal rewrite to better support 256 colours and UTF-8. Screen data
2687 is now stored as single two-way array of structures rather than as multiple
2688 separate arrays. Also simplified a lot of code.
2690 Only external changes are three new flags, -2, -d and -u, which force tmux to
2691 assume the terminal supports 256 colours, default colours (useful for
2692 xterm-256color which lacks the AX flag), or UTF-8 respectively.
2696 * Split off colour conversion code from screen code.
2700 * Initial UTF-8 support. A bit ugly and with a limit of 4096 UTF-8
2701 characters per window.
2705 * 256 colour support. tmux attempts to autodetect the terminal by looking
2706 both at what ncurses reports (usually wrong for xterm) and checking if
2707 the TERM contains "256col". For xterm TERM=xterm-256color is needed (as
2708 well as a build that support 256 colours); this seems to work for rxvt
2709 as well. On non-256 colour terminals, high colours are translated to white
2710 foreground and black background.
2714 * Support OS X/Darwin thanks to bsd-poll.c from OpenSSH. Also convert
2715 from clock_gettime(2) to gettimeofday(2) as OS X doesn't support the
2716 former; microsecond accuracy will have to be sufficient ;-).
2720 * Lose some unused/useless wrapper functions.
2724 * Shell variables may now be defined and used in configuration file. Define
2734 Also some other fixes to make, for example, "abc""abc" work similarly to
2739 * Finally lose inconsistently-used SCREEN_DEF* defines.
2740 * If cursor mode is on, switch the arrow keys from \033[A to \033OA.
2741 * Support the numeric keypad in both application and numbers mode. This is
2742 different from screen which always keeps it in application mode.
2746 * Unbreak "set status" - tmux thought it was ambiguous, reported by rivo nurges.
2750 * Split vi and emacs mode keys into two tables and add an option (mode-keys)
2751 to select between them. Default is emacs, use,
2753 tmux set mode-keys vi
2757 vi mode uses space to start selection, enter to copy selection and escape
2762 * Protocol versioning. Clients which identify as a different version from the
2763 server will be rejected.
2764 * tmux 0.4 released.
2768 * Zombie windows. These are not closed when the child process dies. May be
2769 set for a window with the new "remain-on-exit" option; the default setting
2770 of this flag for new windows may be set with the "remain-by-default" session
2773 A window may be restarted with the respawn-window command:
2775 respawn-window [-k] [command]
2777 If -k is given, any existing process running in the window is killed;
2778 if command is omitted, the same command as when the window was first
2783 * Handle nonexistent session or client to -t properly.
2787 * select-prompt command to allow a window to be selected at a prompt. Only
2788 windows in the current session may be selected. Bound to ' by default.
2789 Suggested by merdely.
2790 * move-window command. Requested by merdely.
2791 * Support binding alt keys (prefixed with M-). Change default to use
2792 C- for ctrl keys (^ is still accepted as an alternative).
2793 * Slim down default key bindings: support lowercase only.
2794 * Handle escaped keys properly (parse eg \033b into a single key code) and
2795 use this to change copy mode next/previous work to M-f and M-b to match
2800 * Next word (C-n/w) and previous word (C-b/b) in copy mode.
2804 * list-commands command (alias lscm).
2805 * Split information about options into a table and use it to parse options
2806 on input (allowing abbreviations) and to print them with show-options
2807 (meaning that bell-action gets a proper string). This turned out a bit ugly
2812 * Do not translate black and white into default if the terminal supports
2813 default colours. This was nice to force programs which didn't use default
2814 colours to be properly transparent in rxvt/aterm windows with a background
2815 image, but it causes trouble if someone redefines the default foreground and
2816 background (to have black on white or something).
2820 * Naive tab completion in the command prompt. This only completes command
2821 names if a) they are at the start of the text b) the cursor is at
2822 the end of the text c) the text contains no spaces.
2823 * Only attempt to set the title where TERM looks like an xterm (contains
2824 "xterm", "rxvt" or is "screen"). I hate this but I don't see a better way:
2825 setting the title actually kills some other terminals pretty much dead.
2826 * Strip padding out of terminfo(5) strings. Currently the padding is just
2827 ignored, this may need to be altered if there are any software terminals
2828 out there that actually need it.
2832 * buffer-limit option to set maximum size of buffer stack. Default is 9.
2833 * Initial buffer improvements. Each session has a stack of buffers and each
2834 buffer command takes a -b option to manipulate items on the stack. If -b
2835 is omitted, the top entry is used. The following commands are currently
2838 set-buffer [-b index] [-t target-session] string
2839 paste-buffer [-d] [-b index] [-t target-window]
2840 delete-buffer [-b index] [-t target-session]
2841 show-buffers [-t target-session]
2842 show-buffer [-b index] [-t target-session]
2844 -d to paste-buffer deletes the buffer after pasting it.
2845 * New option, display-time, sets the time status line messages stay on screen
2846 (unless a key is pressed). Set in milliseconds, default is 750 (0.75 seconds).
2847 The timer is only checked every 100 ms or so.
2851 * Use "status" consistently for status line option, and prefix for "prefix" key
2853 * Allow commands to be entered at a prompt. This is triggered with the
2854 command-prompt command, bound to : by default.
2855 * Show status messages properly, without blocking the server.
2859 * New option, set-titles. On by default, this attempts to set the window title
2860 using the \e]2;...\007 xterm code.
2862 Note that elinks requires the STY environment variable (used by screen) to be
2863 set before it will set the window title. So, if you want window titles set by
2864 elinks, set STY before running it (any value will do). I can't do this for all
2865 windows since setting it to an invalid value breaks screen.
2866 * Show arrows at either end of status line when scrolled if more windows
2867 exist. Highlight the arrow if a hidden window has activity or bell.
2868 * Scroll the status line to show the current window if necessary. Also handle
2869 windows smaller than needed better (show a blank status line instead of
2870 hanging or crashing).
2874 * tmux 0.3 released.
2878 * Add some information messages when window options are changed, suggested by
2879 Mike Erdely. Also add a -q command-line option to suppress them.
2880 * show-window-options (showw) command.
2884 * show-options (show) command to show one or all options.
2888 * New window options: force-width and force-height. This will force a window
2889 to an arbitrary width and height (0 for the default unlimited). This is
2890 neat for emacs which doesn't have a sensible way to force hard wrapping at 80
2891 columns. Also, don't try to be clever and use clr_eol when redrawing the
2892 whole screen, it causes trouble since the redraw functions are used to draw
2893 the blank areas too.
2894 * Clear the blank area below windows properly when they are smaller than client,
2895 also add an indicator line to show the vertical limit.
2896 * Don't die on empty strings in config file, reported by Will Maier.
2900 * Set socket mode +x if any sessions are attached and -x if not.
2904 * Make status-interval actually changeable.
2908 * New window option: aggressive-resize. Normally, windows are resized to the
2909 size of the smallest attached session to which they are linked. This means a
2910 window only changes size when sessions are detached or attached, or they are
2911 linked or unlinked from a session. This flag changes a window to be the size
2912 of the smallest attached session for which it is the current window - it is
2913 resized every time a session changes to it or away from it. This is nice for
2914 things that handle SIGWINCH well (like irssi) and bad for things like shells.
2915 * The server now exits when no sessions remain.
2916 * Fix bug with inserting characters with TERM=xterm-color.
2920 * Completely reorganise command parsing. Much more common code in cmd-generic.c
2921 and a new way of specifying windows, clients or sessions. Now, most commands
2922 take a -t argument, which specifies a client, a session, or a window target.
2923 Clients and sessions are given alone (sessions are fnmatch(3)d and
2924 clients currently not), windows are give by (client|session):index. For
2925 example, if a user is in session "1" window 0 on /dev/ttypi, these should all
2928 tmux renamew newname (current session and window)
2929 tmux renamew -t: newname (current session and window)
2930 tmux renamew -t:0 newname (current session, window 0)
2931 tmux renamew -t0 newname (current session, window 0)
2932 tmux renamew -t1:0 newname (session 1, window 0)
2933 tmux renamew -t1: newname (session 1's current window)
2934 tmux renamew -t/dev/ttypi newname (client /dev/ttypi's current
2936 tmux renamew -t/dev/ttypi: newname (client /dev/ttypi's current
2938 tmux renamew -t/dev/ttypi:0 newname (client /dev/ttypi's current
2941 This does have some downsides, for example, having to use -t on selectw,
2945 is annoying. But then using non-flagged arguments would mean renaming the
2946 current window would need to be something like:
2948 tmux renamew : newname
2950 It might be better not to try and be so consistent; comments to the usual
2952 * Infrastructure for printing arguments in list-keys output. Easy ones only for
2957 * Add some vi(1) key bindings in copy mode, and support binding ^[, ^\, ^]
2958 ^^ and ^_. Both from/prompted by Will Maier.
2959 * setw monitor-activity and set status without arguments now toggle the current
2960 value; suggested by merdely.
2961 * New command set-window-option (alias setw) to set the single current window
2962 option: monitor-activity to determine whether window activity is shown in
2963 the status bar for that window (default off).
2964 * Change so active/bell windows are inverted in status line.
2965 * Activity monitoring - window with activity are marked in status line. No
2966 way to disable this/filter windows yet.
2967 * Brought select-window command into line with everything else; it now uses
2968 -i for the window index.
2969 * Strings to display on the left and right of the status bar may now be set
2970 with the status-left and status-right options. These are passed through
2971 strftime(3) before being displayed. The status bar is automatically updated
2972 at an interval set by the status-interval option. The default is to display
2973 nothing on the left and the date and time on the left; the default update
2974 interval is 15 seconds.
2978 * Per session options. Setting options without specifying a session sets the
2979 global options as normal (global options are inherited by all sessions);
2980 passing -c or -s will set the option only for that session.
2981 * Because a client has a session attached, any command needing a session can
2982 take a client and use its session. So, anything that used to accept -s now
2984 * -s to specify session name now supports fnmatch(3) wildcards; if multiple
2985 sessions are found, or if no -s is specified, the most newly created is used.
2986 * If no command is specified, assume new-session. As a byproduct, clean up
2987 command default values into separate init functions.
2988 * kill-server command.
2992 * New command, start-server (alias "start"), to start the tmux server and do
2993 nothing else. This is good if you have a configuration file which creates
2994 windows or sessions (like me): in that case, starting the server the first
2995 time tmux new is run is bad since it creates a new session and window (as
2996 it is supposed to - starting the server is a side-effect).
2998 Instead, I have a little script which does the equivalent of:
3000 tmux has -s0 2>/dev/null || tmux start
3003 And I use it to start the server if necessary and attach to my primary
3005 * Basic configuration file in ~/.tmux.conf or specified with -f. This is file
3006 contains a set of tmux commands that are run the first time the server is
3007 started. The configuration commands are executed before any others, so
3008 if you have a configuration file that contains:
3013 And you do the following without an existing server running:
3017 You will end up with two sessions, session 0 with two windows (created by
3018 the configuration file) and your client attached to session 1 with one
3019 window (created by the command-line command). I'm not completely happy with
3020 this, it seems a little non-obvious, but I haven't yet decided what to do
3023 There is no environment variable handling or other special stuff yet.
3025 In the future, it might be nice to be able to have per-session configuration
3026 settings, probably by having conditionals in the file (so you could, for
3027 example, have commands to define a particular window layout that would only
3028 be invoked if you called tmux new -smysession and mysession did not already
3030 * BIG CHANGE: -s and -c to specify session name and client name are now passed
3031 after the command rather than before it. So, for example:
3039 This is to allow them to be used in the (forthcoming) configuration file
3040 THIS WILL BREAK ANY CURRENT SCRIPTS OR ALIASES USING -s OR -c.
3044 * Bug fix: don't die if -k passed to link-window and the destination doesn't
3046 * New command, send-keys, will send a set of keys to a window.
3050 * Fix so tmux doesn't hang if the initial window fails for some reason. This
3051 was highlighted by problems on Darwin, thanks to Elias Pipping for the report
3052 and access to a test account. (tmux still won't work on Darwin since its
3057 * Don't attempt to reset the tty on exit if it has been closed externally.
3061 * Restore checks for required termcap entries and add a few more obvious
3063 * Another major reorganisation, this time of screen handling. A new set of
3064 functions, screen_write_*, are now used to write to a screen and a tty
3065 simultaneously. These are used by the input parser to update the base
3066 window screen and also by the different modes which now interpose their own
3071 * Support \ek...\e\ to set window name.
3075 * Enable/disable mouse when asked, if terminal claims to support it. Mouse
3076 sequences are just passed through unaltered for the moment.
3077 * Big internal reorganisation. Rather than leaving control of the tty solely in
3078 the client and piping all data through a socket to it, change so that the
3079 server opens the tty again and reads and writes to it directly. This avoids
3080 a lot of buffering and copying. Also reorganise the redrawing stuff so that
3081 everything goes through screen_draw_* - this makes the code simpler, but
3082 still needs broken up more, and all the ways of writing to screens should be
3087 * Rather than shifting up one line at a time once the history is full,
3088 shift by 10% of the history each time. This is faster.
3089 * Add ^A and ^E to copy mode to move to start-of-line/end-of-line.
3093 * Support for alt charset mode (VT100 graphics characters).
3097 * Mostly complete copy & paste. Copy mode entered with C-b [ (copy-mode
3098 command). In copy mode, arrow keys/page up/page down/hjkl/C-u/C-f navigate,
3099 space or C-space starts selection, and enter or C-w copies and (important!)
3100 exits copy mode. C-b ] (paste-buffer) pastes into current window. No
3101 extra utility keys (bol/eol/clear selection/etc), only one single buffer,
3102 and no buffer manipulation commands (clear/view/etc) yet. The code is also
3104 * history-limit option to set maximum history. Does not apply retroactively to
3105 existing windows! Lines take up a variable amount of space, but a reasonable
3106 guess for an 80-column terminal is 250 KB per 1000 lines (of history used,
3107 an empty history takes no space).
3111 * Create every line as zero length and only expand it as data is written,
3112 rather than creating at full size immediately.
3113 * Make command output (eg list-keys) go to a scrollable window similar to
3115 * Redo screen redrawing so it is a) readable b) split into utility functions
3116 that can be used outside screen.c. Use these to make scroll mode only
3117 redraw what it has to which gets rid of irritating flickering status box and
3118 makes it much faster.
3119 * Full line width memory and horizontal scrolling in history.
3120 * Initial support for scroll history. = to enter scrolling mode, and then
3121 vi keys or up/down/pgup/pgdown to navigate. Q to exit. No horizontal history
3122 yet (need per-line sizes) and a few kinks to be worked out (resizing while in
3123 history mode will probably cause trouble).
3127 * Fix format string error with "must specify a client" message. Also
3128 sprinkle some printflike tags.
3129 * tmux 0.1 released.
3133 * (nicm) Add -k option to link-window to kill target window if it exists.
3137 * (nicm) Split in-client display into two columns. This is a hack but not a lot
3138 more so than that bit is already and it helps with lots of keys.
3139 * (nicm) switch-client command to switch client between different sessions. This
3142 $ tmux bind q switch 0
3143 $ tmux bind w switch 1
3145 Then you can switch between sessions 0 and 1 with a key :-).
3146 * (nicm) Accept "-c client-tty" on command line to allow client manipulation
3147 commands, and change detach-/refresh-session to detach-/refresh-client (this
3148 loses the -a behaviour, but at some point -session versions may return, and
3149 -c will allow fnmatch(3)).
3150 * (nicm) List available commands on ambiguous command.
3154 * (nicm) If the terminal supports default colours (AX present), force black
3155 background and white foreground to default. This is useful on transparent
3156 *terms for programs which don't do it themselves (like most(1)).
3157 * (nicm) Fill in the rest of the man page.
3158 * (nicm) kill-session command.
3162 * (nicm) C-space is now "^ " not "^@".
3163 * (nicm) Support tab (\011).
3164 * (nicm) Initial man page outline.
3165 * (nicm) -V to show version.
3166 * (nicm) rename-session command.
3170 * (nicm) Check for required terminal capabilities on start.
3174 * (nicm) Linux port.
3178 * (nicm) swap-window command. Same as link-window but swaps windows.
3182 * (nicm) Saving scroll region on \e7 causes problems with ncmpc so I guess
3184 * (nicm) unlink-window command.
3185 * (nicm) link-window command to link an existing window into another session
3186 (or another index in the same session). Syntax:
3188 tmux -s dstname link-window [-i dstidx] srcname srcidx
3190 * (nicm) Redo window data structures. The global array remains, but each per-
3191 session list is now a RB tree of winlink structures. This disassociates the
3192 window index from the array size (allowing arbitrary indexes) which still
3193 allowing windows to have multiple indexes.
3197 * (nicm) has-session command: checks if session exists.
3201 * (nicm) Support for \e6n to request cursor position. resize(1) now works.
3202 * (nicm) Support for \e7, \e8 save/restore cursor and attribute sequences.
3203 Currently don't save mode (probably should). Also change some cases where
3204 out-of-bound values are ignored to limit them to within range (there are
3205 others than need to be checked too).
3209 * (nicm) Lift limit on session name passed with -s.
3210 * (nicm) Show size in session/window lists.
3211 * (nicm) Pass tty up to server when client identifies and add a list-clients
3212 command to list connected clients.
3216 * (nicm) Add default-command option and change default to be $SHELL rather than
3217 $SHELL -l. Also try to read shell from passwd db if $SHELL isn't present.
3221 * (nicm) -n on new-session is now -s, and -n is now the initial window name.
3222 This was documented but not implemented :-/.
3223 * (nicm) kill-window command, bound to & by default (because it should be hard
3225 * (nicm) bell-style option with three choices: "none" completely ignore bell;
3226 "any" pass through a bell in any window to current; "current" ignore bells
3227 except in current window. This applies only to the bell terminal signal,
3228 the status bar always reflects any bells.
3229 * (nicm) Refresh session command.
3233 * (nicm) Add a warning if $TMUX exists on new/attach.
3234 * (nicm) send-prefix command. Bound to C-b by default.
3235 * (nicm) set status, status-fg, status-bg commands. fg and bg are as a number
3236 from 0 to 8 or a string ("red", "blue", etc). status may be 1/0, on/off,
3238 * (nicm) Make status line mark window in yellow on bell.
3242 * (nicm) -d option to attach to detach all other clients on the same session.
3243 * (nicm) Partial resizing support. Still buggy. A C-b S and back sometimes fixes
3244 it when it goes wonky.
3245 * (mxey) Added my tmux start script as an example (examples/start-tmux.sh).
3246 * (mxey) New sessions can now be given a command for their first window.
3247 * (mxey) Fixed usage statement for new-window.
3248 * (nicm) attach-session (can't believe I forgot it until now!) and list-windows
3250 * (nicm) rename-window and select-window commands.
3251 * (nicm) set-option command (alias set): "tmux set-option prefix ^A".
3252 * (nicm) Key binding and unbinding is back.
3256 * (nicm) {new,next,last,previous}-window.
3257 * (nicm) Rewrite command handling so commands are much more generic and the
3258 same commands are used for command line and keys (although most will probably
3259 need to check how they are called). Currently incomplete (only new/detach/ls
3260 implemented). Change: -s is now passed before command again!
3261 * (nicm) String number arguments. So you can do: tmux bind ^Q create "blah".
3262 * (nicm) Key binding. tmux bind key command [argument] and tmux unbind key.
3263 Key names are in a table in key-string.c, plus A is A, ^A is ctrl-A.
3264 Possible commands are in cmd.c (look at cmd_bind_table).
3265 * (nicm) Move command parsing into the client. Also rename some messages and
3266 tidy up a few bits. Lots more tidying up needed :-/.
3270 * (nicm) Redraw client status lines on rename.
3271 * (nicm) Error on ambiguous command.
3275 * (nicm) Restore window title handling.
3276 * (nicm) Simple uncustomisable status line with window list.
3280 * (nicm) Window info command for debugging, C-b I.
3284 * (nicm) Deleting/inserting lines should follow scrolling region. Fix.
3285 * (nicm) Allow creation of detached sessions: "tmux new-session -d".
3286 * (nicm) Permit error messages to be passed back for transient clients like
3287 rename. Also make rename -i work.
3288 * (nicm) Pass through bell in any window to current.
3292 * (nicm) Major rewrite of input parser:
3293 - Lose the old weirdness in favour of a state machine.
3294 - Merge in parsing from screen.c.
3295 - Split key parsing off into a separate file.
3296 This is step one towards hopefully allowing a status line. It requires
3297 that we output data as if the terminal had one line less than it really does -
3298 a serious problem when it comes to things like scrolling. This change
3299 consolidates all the range checking and limiting together which should make
3301 * (mxey) Added window renaming, like "tmux rename [-s session] [-i index] name"
3305 * Split "tmux list" into "tmux list-sessions" (ls) and "list-windows" (lsw).
3306 * New command session selection:
3307 - if name is specified, look for it and use it if it exists, otherwise
3309 - if no name specified, try the current session from $TMUX
3310 - if $TMUX doesn't exist, and there is only one session, use it,
3315 * Add command aliases, so "ls" is an alias for "list".
3316 * Rename some commands and alter syntax to take options after a la CVS. Also
3317 change some flags. So:
3319 tmux -s/socket -nabc new
3323 tmux -S/socket new -sabc
3325 * Major tidy and split of client/server code.
3329 * Window list command (C-b W). Started by Maximilian Gass, finished by me.
3333 * Specify meta via environment variable (META).
3334 * Record last window and ^L key to switch to it. Largely from Maximilian Gass.
3335 * Reset ignored signals in child after forkpty, makes ^C work.
3336 * Wrap on next/previous. From Maximilian Gass.
3340 * Don't renumber windows on close.
3344 * Scrolling region (\e[r) support.
3348 * Change screen.c to work more logically and hopefully fix heap corruption.
3352 * Initial import to CVS. Basic functions are working, albeit with a couple of
3353 showstopper memory bugs and many missing features. Detaching, reattaching,
3354 creating new sessions, listing sessions work acceptably for using with shells.
3355 Simple curses programs (top, systat, tetris) and more complicated ones (mutt,
3356 emacs) that don't require scrolling regions (ESC[r) mostly work fine
3357 (including mutt, emacs). No status bar yet and no key remapping or other