CHANGES FROM 3.6b TO 3.7

* Add floating panes. These are panes which sit above the layout ("tiled
  panes") like popups but unlike popups are not modal and behave like panes (so
  the same escape sequence support). Floating panes are created with the
  new-pane command, bound to * by default.

  This is an early release of this feature and they are relatively limited.
  Currently floating panes can only be moved and resized using the mouse. The
  default second status line (if status-format is set to 2) has changed to show
  a list of panes. Many obvious features are not yet available for floating
  panes (notably the ability to swap floating panes, resize them using
  resize-pane, change them between floating and tiles, and restore custom
  layouts with floating panes).

  Mostly written by Michael Grant with help from Dane Jensen; testing and fixes
  from others.

* Allow run-shell arguments after a shell command to be expanded as #{1}, #{2}
  and so on (from Rasmus Thystrup Karstensen in issue 5121).

* Add -g to kill-session to kill all sessions in a session group (issue 5157
  from github at jiku dot jp).

* Tighten up read-only checks on attach-session, detach-client and
  switch-client so that a user should be able to only detach their own client
  (reported by John Walker).

* Increase escape delay if the buffer contains a partial paste end, fixes
  issues with at least Windows Terminal (from jing dot empty at gmail.com issue
  5088).

* When mode-keys is set to vi, do not allow the cursor to go into the invisible
  extra cell to the right of the visible text; this is closer to what vi(1)
  does (from Max Vim in issue 5070).

* Add a five second limit on pasting for terminals which mysteriously lose the
  end sequence if the paste is too big (that is, Terminal.app) (reported by
  Garri Djavadyan in issue 4527).

* Show file open errors more sensibly (reported by Meriel Luna Mittelbach in
  issue 5081).

* Update supported features list for Foot terminal (from Meriel Luna Mittelbach
  in issue 5079).

* Turn off the "is this a paste" guessing if the terminal supports bracket
  pasting instead (issue 5031).

* Check FIONREAD for all panes not just piped panes.

* Add emacs-style recentre-top-bottom command to copy mode (issue 5053 from
  sinyax75 at gmail dot com).

* Allow the indicator in tree mode to be customized by two new options:
  tree-mode-preview-format and tree-mode-preview-style.

* Fix control client hang on exit after toggling no-output (issue 5049 from
  Aaron Campbell). Also various other control mode fixes.

* Add support for line numbers in copy mode. There is a new
  copy-mode-line-numbers option which may be set to off, default (tmux's normal
  line numbering where 0 is the top visible line), absolute (first line in
  history is 1), relative (relative to the cursor) and hybrid (current line is
  absolute, others relative). Also adds copy-mode-line-number-style and
  copy-mode-current-line-number-style to set the style of the line numbers.
  When copy mode is entered with the mouse, line numbers stay off. From Leo
  Henon in issue 5025.

* Make C-[ have the same bindings as Escape for terminals with extended
  keys where they are different (issue 5035 from Eric Nicolas).

* Sanitize paste buffer names in paste_set and paste_rename (issue 5032 from
  Barrett Ruth).

* Do not hang in run-shell when job_run fails (from Barrett Ruth in issue
  5037).

* Add ability to forward progress bar to outside terminal (issue 4972
  from Eric Dorland).

* Translate keypad keys to text in prompt input (from Barrett Ruth in issue
  4996).

* Sanitize pane titles and window and session names more consistently and
  strictly, prevents C0 characters and other invisible characters causing
  problems (reported by Chris Monardo in issue 4999).

* Make clock visible on terminals without colours (from Manuel Einfalt in issue
  5001).

* Add detach to default session menu (suggested by Przemyslaw Sztoch).

* Include window format variables for pane notifications (issue 5007 from Saul
  Nogueras).

* Limit precision to 100 for formats to stop silly formats from running out of
  memory, reported by z1281552865 at gmail dot com. Also various other similar
  changes, mostly found by OSS-Fuzz.

* Add WAYLAND_DISPLAY to default update-environment (issue 4965). Also some
  additional XDG_* variables (issue 5169).

* Add -C flag to command-prompt to match display-message -C (do not freeze
  panes) (from Barrett Ruth in issue 4978).

* Cache user from getpwuid because it can be very expensive on some
  platforms (from Ben Maurer in issue 4973).

* Add remain-on-exit key to keep pane around until a key is pressed (from
  Michael Grant).

* Add some new mouse ranges called "control0" to "control9" and use to add some
  mouse controls to the pane state line (from Dane Jensen with some bits from
  Michael Grant).

* Handle OSC 9;4 progress bar sequence and store in format variables (from Eric
  Dorland in issue 4954).

* Correctly size buffer used for parsing clipboard sequences (from Michal
  Majchrowicz).

* Limit MSG_COMMAND argument to between 0 and 1000 to prevent a misbehaving
  client from crashing the server (from Michal Majchrowicz).

* Reorganize host keys are represented internally so they can be built more
  easily (from Dane Jensen in issue 4953).

* Add new fuzzers for command parsing, formats and styles (from David
  Korczynski in issue 4957). Also fix various issues shown from these.

* Add bracket_paste_flag format flag (from George Nachman in issue 4951).

* Use \- for hyphens in tmux.1 to cause newer groff versions to render them
  correctly (from Keith Thompson in issue 4948).

* Various minor code improvements and fixes from Pavel Lavrukhin (issue 4936
  and others).

* Use window options for cursor-style to avoid crash when no pane (from Arden
  Packeer in issue 4942).

* Fix issue where popup window gets overwritten by background updates (from
  Conor Taylor in issue 4920).

* Protect against overflow when scrollbar is off screen (from san65384 at gmail
  dot com in issue 4933).

* Copy hyperlinks when redrawing popup so they do not vanish (from Antoine
  Gaudreau Simard in issue 4925).

* Work around systemd killing panes early during system shutdown by creating
  dependencies from the panes to the service which started tmux (issue 4926
  from Dmitry Torokhov).

* Allow codepoint-widths to accept ranges (from san65384 at gmail dot com in
  issue 4930).

* Add a short builtin help text for each mode accessible with C-h (based on
  code from Patrick Motard in issue 4751).

* Draw message as one format, allowing prompts and messages to occupy only a
  portion of the status bar, overlaying the normal status content rather than
  replacing the entire line. A new message-format option now controls the
  entire message (like status-format). The message-style option now need to
  include "fill" in order to cover the whole width (the default has
  "fill=yellow"). From Conor Taylor in issue 4861.

* Add next/previous variables for windows in W: loop (from Conor Taylor in
  issue 4856).

* Various bug and memory leak fixes from Renaud Allard (issue 4916).

* Add pane_pipe_pid with pipe file descriptor.

* Make -c work with new-session -A (from Jody Frankowski in issue 4906).

* Allow copy mode to work for readonly clients, except for copy commands (from
  Dane Jensen).

* Pass paste buffer through vis(3) when pasting to prevent buffers containing
  for example the bracket end sequence causing issues, a new -S flag disables
  (reported by Mason Davis).

* Add sorting (-O flag) and a custom format (-F) to list-keys (from Dane Jensen
  in issue 4845).

* Add scroll-exit-on, scroll-exit-off, scroll-exit-toggle commands to copy mode
  (from xcdnlgd at hotmail dot com in issue 4884).

* Respond to DECRQM 2026 (from David Turnbull in issue 4887) and various others
  (from Ayman Bagabas in issue 5118).

* Fix various memory leaks reported by Huihui Huang (issue 4872).

* Pass which clipboard is set through to the terminal (from Axel Lindskog in
  issue 4858).

* Reuse extended entry when clearing RGB cell, to prevent memory growth when
  cells are repeatedly cleared (from Michael K Darling in issue 4862).

* Do not write before buffer when parsing empty clipboard or palette replies,
  or try to allocate zero bytes with an empty clipboard sequence (reported by
  DongHan Kim).

* Various bug fixes and code improvements from Conor Taylor (issue 4848).

* Clear search counts when clearing marks in case of repeated search (reported
  by Daniel Pereira in issue 4817).

* Make OSC 52 work in popups (from gogongxt at 163 dot com in issue 4797).

* Refresh copy mode when style changes (from Josh Cooper in issue 4830).

* Make sorting code common and add -O for sorting to the list commands (from
  Dane Jensen in issue 4813).

* Do not treat cells as empty unless the background colour stays the same,
  fixes invisible clock in clock mode (reported by Theo Buehler).

* When history-limit is changed, apply to existing panes, not just new
  ones (issue 4705).

* Reevaluate menu and popup styles on each draw to allow them to change when
  options change (from Josh Cooper in issues 4828 and 4829).

* Handle theme keys earlier so they are processed even if a popup is open (from
  Josh Cooper in issue 4827).

* Fix window-size=latest not resizing on switch-client in session groups (from
  Ilya Grigoriev in issue 4818).

* Add -e flag to command-prompt to close if empty (from Dane Jensen in issue
  4812).

* Correctly draw indicators when pane-border-indicators is set to both
  (reported by Ilya Grigoriev in issue 4780).

* Remember last pane or type of location for double and triple clicks and
  correctly handle it changes between first and second or second and third
  (issue 4795 from Shaobo Song).

* Add paste to the default pane menu (issue 4763).

* Reduce request timeout to 500 milliseconds to match the extended escape-time,
  and discard palette requests if receiving a reply for a different index.

* Extend escape timeout if there are active forwarded requests not just
  tmux's own requests (issue 4793).

* Correct redrawing of wide characters when overwritten (reported by Jake
  Stewart in issue 4737).

* If cannot find a terminator for palette responses, treat as a partial key not
  complete (issue 4749).

* Do not send theme unless it has changed, and do not send immediately when
  updates are enabled (issue 5787).

* Do not use ;;s in list-keys output as it is confusing and cannot be
  parsed on input (from Patrick Motard in issue 4750).

* Redraw pane borders when entering or leaving alternate screen (from Mike
  Jonkmans in issue 4788).

* Add focus-follows-mouse option (from Barry Wasdell in issue 4771).

* Add selection_mode format variable for copy mode (from Mike Jonkmans in issue
  4773).

* Add prompt-command-cursor-style (from Joshua Cooper in issue 4765).

* With status-keys vi, move the cursor left by one when pressing Escape to
  enter command mode, like vi (issue 4767 from Joshua Cooper).

* Add {current}/{active} for -t for current window or active pane (from Manuel
  Einfalt, issue 4766).

* Add support for applications to use synchronized output mode (DECSET 2026) to
  prevent screen tearing during rapid updates (from Chris Lloyd in issue 4744).

* Do not set a default prompt cursor colour because some terminals (urxvt, st)
  do not support the reset sequence (issue 4759).

* Add a scroll-to-mouse command for copy mode to scroll to the mouse position
  and bind to the scrollbar, brings the scrollbar keys into line with the other
  mouse keys (from Michael Grant in issue 4731).

* Bump the maximum number of SIXEL images to 20.

* Fix key code for M-BSpace (issue 4717).

* Fix calculation of scaled SIXEL size (from nincsnevem662 at gmail dot com in
  issue 4739). Also various other fixes and improvements for SIXEL.

* Fix a race between fork and pane_current_path, most noticeable on systems
  where starting processes is slow (issue 4719).

* Fix mouse position calculation on scrollbar with pane status line at the top
  (issue 4738 from Michael Grant).

* Do not read outside buffer if format is a single #, and do not loop forever
  if UTF-8 is unfinished in a format (reported by Giorgi Kobakhia in issue
  4735).

* Add a missing skin tone character (from Jake Stewart in issue 4736).

* Allow UTF-8 characters to be combined in either order (reported by Jake
  Stewart in issue 4726).

* Do not show scrollbar when entering copy mode from a pane in the alternate
  screen (issue 4728 from Michael Grant).

* Fix the size calculation for left-right windows used to spread out cells
  horizontally evenly (from Michael Grant in issue 4724).

* Add a get-clipboard option which when enabled (the default is off) and a
  clipboard is requested from a pane, requests it from the terminal and
  forwards to the requesting pane; also remove the now-redundant
  forward-to-pane ability from "refresh-client -l" (issue 4275).

* Fix the noattr attribute in styles, used by the default mode-style (issue
  4713).

* Do not remove TERM for commands run from config file (regression reported by
  Dennis Eriksen).

* Add seconds options for clock mode (from augustus7613 dot mail at pm dot me,
  issue 4697; later improved by Joao Pedro in issue 4760).

CHANGES FROM 3.6a TO 3.6b

* Remove images from the correct list when they are removed while in the
  alternate screen (reported by xlabai at tencent dot com).

CHANGES FROM 3.6 TO 3.6a

* Fix a buffer overread and an infinite loop in format processing (reported by
  Giorgi Kobakhia, issue 4735).

* Allow drag in alternate screen again (issue 4743 reported by Brad King).

* Fix y offset of mouse if status at top (issue 4738 from Michael Grant).

* Add a missing skin tone (from Jake Stewart, issue 4736).

* Allow characters to be combined in either order (issue 4726, reported by Jake
  Stewart).

* Fix horizontal mouse resizing when pane status lines are on (from Michael
  Grant, issue 4720).

* Fix noattr so it does not delete attributes set in the style itself (issue
  4713).

* Newer libevents do not allow event_del on a zero'd event (issue 4706).

* Place cursor on correct line if message-line is not 0 (issue 4707).

* Fix compile error on FreeBSD (from Yasuhiro Kimura, issue 4701).

CHANGES FROM 3.5a TO 3.6

* Add seconds options for clock mode (issue 4697).

* Add a resize callback for menus so that they are correctly moved on resize
  (issue 4696).

* Make -v to source-file pass through to subsequent source-file commands (issue
  4216).

* If display-popup is used inside a popup, modify that popup (issue 4678).

* Add selection-mode command to expilcitly set the selection mode in copy mode
  (issue 3842).

* Save and restore images in alternate screen (issue 3732).

* Ignore Hangul filler character (issue 3998).

* Improve handling of regional indicators and emoji modifiers (issue 3998).

* Preserve marked pane with swap-window and move-window (issue 3443).

* Set and check COLORTERM as a hint for RGB colour.

* If tmux receives a palette request (OSC 4) in a pane and the palette entry
  has not been set, send a request to the most recently used client and
  forward any response instead (based on change from Tim Culverhouse, issue
  4665).

* Add -l flag to command-prompt to disable splitting into multiple prompts
  (issue 4483).

* Don't enter copy mode on mouse wheel in alternate screen (issue 3705).

* Add commands to centre the cursor in copy mode (issue 4662).

* Support case insensitive search in modes in the same way as copy mode
  (like emacs, so all-lowercase means case insensitive) (issue 4396).

* Fix the logic of the no-detached case for the detach-on-destroy option (from
  Martin Louazel, issue 4649).

* Add buffer_full format variable (from Mohammad AlSaleh, issue 4630).

* Introduce a new window option, tiled-layout-max-columns, which configures the
  maximum number of columns in the tiled layout.

* Add support for DECRQSS SP q (report cursor style), DECRQM ?12 (report cursor
  blink state) and DECRQM ?2004, ?1004, ?1006 (report mouse state) ( rom
  Andrea Alberti, issue 4618).

* Fix missing argument from OSC 4 reply (issue 4596).

* Add -k flag to display-popup which allows any key to dismiss the popup once
  the command has exited (from Meriel Luna Mittelbach, issue 4612).

* Add nicer default second and third status lines (from Michael Grant, issue
  4490).

* Add a pane-border-lines "spaces" value to use spaces for pane borders (issue
  4587).

* Replace invalid UTF-8 characters with the placeholder instead of ignoring
  them (issue 4514).

* Fix incorrect handling of Korean Hangul Jamo characters (from Roy Jung, issue
  4546).

* Allow uppercase letters in gray/grey color names (from Pavel Roskin, issue
  4560).

* Add sorting to W, P, L loop operators (from Michael Grant, issue 4516).

* Detect support for OSC 52 using the device attributes report (from James
  Holderness, issue 4539).

* Add noattr for styles and use in mode-style to allow whether attributes are
  ignored or used to be configured (issue 4498).

* Add a set-default style attribute which replaces the current default colours
  and attributes completely.

* Add -E to run-shell to forward stderr as well as stdout (issue 4246).

* Add an option variation-selector-always-wide to instruct tmux not to
  always interpret VS16 as a wide character and assume the terminal does
  likewise.

* Switch to getopt_long from OpenSSH (from Koichi Murase, issue 4492).

* Add more features for boolean expressions in formats: 1) extend && and || to
  support arbitrarily many arguments and 2) add ! and !! for not and not-not
  (from David Mandelberg).

* Do not mistake other DCS sequences for SIXEL sequences (from James
  Holderness, issue 4488).

* Improve #? conditional expression in formats: add support for else if and
  default empty string if no else value (from David Mandelberg, issue 4451).

* Add default-client-command to set the command used if tmux is run without a
  command; the default stays new-session (from David Mandelberg, issue
  4422).

* Add S-Up and S-Down to move windows in tree mode (from David Mandelberg,
  issue 4415).

* Add mode 2031 support to automatically report dark or light theme. tmux will
  guess the theme from the background colour on terminals which do not
  themselves support the escape sequence (from Jonathan Slenders, issue 4353).

* Add -M flag to capture-pane to use the copy mode screen (issue 4358).

* Align index numbers in trees (from David Mandelberg, issue 4360).

* Add display-message -C flag to update pane while message is displayed (from
  Vitaly Ostrosablin, issue 4363).

* Make list-commands command show only one command if an argument is given
  (from Ilya Grigoriev, issue 4352).

* Count line numbers correctly inside strings in configuration files (reported
  by Pedro Navarro, issue 4325).

* Map bright black (colour 8) to white (7) if the background is black on
  terminals with only eight colours so the text is not invisible (from Dmytro
  Bagrii, issue 4322).

* New codepoint-widths option allowing users to override the width of
  individual Unicode codepoints.

* Add a nesting limit to source-file (from Fadi Afani, issue 4223).

* Add copy-mode-position-style and copy-mode-selection-style options for copy
  mode.

* Add no-detach-on-destroy client option (issue 4242).

* Add input-buffer-size option (from Ken Lau).

* Add support for a scrollbar at the side of each pane. New options
  pane-scrollbars turn them on or off, pane-scrollbars-position sets the
  position (left or right), and pane-scrollbars-style to set the colours (from
  Michael Grant, issue 4221).

* Allow control characters to be entered at the command prompt by prefixing
  with C-v (from Alexander Arch, issue 4206).

* Do not attempt to search for zero length strings (from Alexander Arch, issue
  4209).

* Preserve tabs for copying and capture-pane (from Alexander Arch, issue
  4201).

* Increase the maximum for repeat-time.

* Adjust how Ctrl and Meta keys are sent to use standard representation if
  available in mode 1 (from Stanislav Kljuhhin, issue 4188).

* Allow attributes in menu style (from Japin Li, issue 4194).

* Add a sixel_support format variable which is 1 if SIXEL is supported, always
  0 on OpenBSD (requested by Misaki Masa, issue 4177).

* Add prompt-cursor-colour and prompt-cursor-style to set the style of the
  cursor in the command prompt and remove the emulated cursor (from Alexander
  Arch, issue 4170).

* Add initial-repeat-time option to allow the first repeat time to be increased
  and later reduced (from David le Blanc, issue 4164).

* Send focus events to pane when entering or leaving popup (issue 3991).

* Add copy-mode-position-format to configure the position indicator.

* Add -y flag to disable confirmation prompts in modes (issue 4152).

* Add -C and -P flags to the copy commands in copy mode: -C prevents the
  commands from sending the text to the clipboard and -P prevents them from
  adding the text as a paste buffer (issue 4153).

* Preserve transparency and raster attribute dimensions when sending a SIXEL
  image, and avoid collapsing empty lines (issue 4149).

* Bypass permission check for Cygwin (based on a change by Yuya Adachi via
  Rafael Kitover, issue 4148).

* Add MSYSTEM to default update-environment (for Cgywin).

* Set client stdout file descriptor also for Cgywin (from Michael Wild via Rafael
  Kitover, issue 4148).

* Use global cursor style and colour options for modes instead of default
  (issue 4117).

* Fix pasting so it does not interpret keys but instead copies the input
  without interpretation (reported by Mark Kelly).

* Try to query window pixel size from the outside terminal if the values
  returned by TIOCGWINSZ are zero (Dmitry Galchinsky, issue 4099).

CHANGES FROM 3.5 TO 3.5a

* Do not translate BSpace as Unicode with extended keys.

* Fix so that keys with Shift are represented correctly with extended keys.

* Revert to using /bin/sh for #() and run-shell and if-shell; the change to use
  default-shell only applies now to popups.

* Fix grey colour without a number suffix in styles.
 
CHANGES FROM 3.4 TO 3.5

* Revamp extended keys support to more closely match xterm and support mode 2
  as well as mode 1. This is a substantial change to key handling which changes
  tmux to always request mode 2 from parent terminal, changes to an unambiguous
  internal representation of keys, and adds an option (extended-keys-format) to
  control the format similar to the xterm(1) formatOtherKeys resource.

* Clear an overlay (popup or menu) when command prompt is entered.

* Add copy-mode -d flag to scroll a page down if in copy mode already (matching
  -e).

* Display hyperlinks in copy mode and add copy_cursor_hyperlink format to get
  the hyperlink under the cursor.

* Add a prefix timeout option.

* Mouse move keys are not useful as key bindings because we do not turn them on
  unless the application requests them. Ignore them so they do not cause the
  prefix to be canceled

* Add search_count and search_count_partial formats in copy mode.

* Do not reset mouse pane if clicked on status line,

* Add mirrored versions of the main-horizontal and main-vertical layouts where
  the main pane is bottom or right instead of top or left.

* Allow REP to work with Unicode characters.

* Fix size calculation of terminators for clipboard escape sequences.

* Treat CRLF as LF in config files where it is easy to do so.

* The Linux console has some bugs with bright colours, so add some workarounds
  for it.

* If built with systemd, remove some environment variables it uses.

* Adjust the logic when deleting last buffer to better preserve the selection:
  if selecting the element below the deleted one fails (because as the last
  one), select the one above it instead.

* Add --enable-jemalloc to build with jemalloc memory allocator (since glibc
  malloc is so poor).

* Add a way (refresh-client -r) for control mode clients to provide OSC 10 and
  11 responses to tmux so they can set the default foreground and background
  colours.

* Add N to search backwards in tree modes.

* Use default-shell for command prompt, #() and popups.

* Revert part of a change intended to improve search performance by skipping
  parts of lines already searched, but which in fact skipped the ends of lines
  altogether.

* Add a command-error hook when a command fails.

* Add an option allow-set-title to forbid applications from changing the pane
  title.

* Correct handling of mouse up events (don't ignore all but the last released
  button), and always process down event for double click.

* Fix a crash if focusing a pane that is exiting.

* Pick newest session (as documented) when looking for next session for
  detach-on-destroy.

* Reduce default escape-time to 10 milliseconds.

* Add display-menu -M to always turn mouse on in a menu.

* Look for feature code 21 for DECSLRM and 28 for DECFRA in the device
  attributes and also accept level 1.

* Fix crash if built with SIXEL and the SIXEL colour register is invalid; also
  remove SIXEL images before reflow.

* Do not notify window-layout-changed if the window is about to be destroyed.

* Do not consider a selection present if it is empty for the selection_active
  and selection_present format variables.

* Fix split-window -p.

CHANGES FROM 3.3a TO 3.4

* Add options keep-last and keep-group to destroy-unattached to keep the last
  session whether in a group.

* Don't allow paste-buffer into dead panes.

* Add -t to source-file.

* Rewrite combined character handling to be more consistent and to support
  newer Unicode combined characters.

* Add basic support for SIXEL if built with --enable-sixel.

* Add a session, pane and user mouse range types for the status line and add
  format variables for mouse_status_line and mouse_status_range so they can be
  associated with different commands in the key bindings.

* Add flag (-o) to next-prompt/previous-prompt to go to OSC 133 command output.

* Add options and flags for menu styles (menu-style, menu-border-style) similar
  to those existing for popups.

* Add support for marking lines with a shell prompt based on the OSC 133 extension.

* Check for libterminfo for NetBSD.

* Add "us" to styles for underscore colour.

* Add flags (-c and -y) to change the confirm key and default behaviour of
  confirm-before.

* Use ncurses' new tparm_s function (added in 6.4-20230424) instead of tparm so
  it does not object to string arguments in c apabilities it doesn't already
  know. Also ignore errors from tparm if using previous ncurses versions.

* Set default lock command to vlock on Linux if present at build time.

* Discard mouse sequences that have the right form but actually are invalid.

* Add support for spawning panes in separate cgroups with systemd and a
  configure flag (--disable-cgroups) to turn off.

* Add a format (pane_unseen_changes) to show if there are unseen changes while
  in a mode.

* Remove old buffer when renaming rather than complaining.

* Add an L modifier like P, W, S to loop over clients.

* Add -f to list-clients like the other list commands.

* Extend display-message to work for control clients.

* Add a flag to display-menu to select the manu item selected when the menu is
  open.

* Have tmux recognise pasted text wrapped in bracket paste sequences, rather
  than only forwarding them to the program inside.

* Have client return 1 if process is interrupted to an input pane.

* Query the client terminal for foreground and background colours and if OSC 10
  or 11 is received but no colour has been set inside tmux, return the colour
  from the first attached client.

* Add send-keys -K to handle keys directly as if typed (so look up in key
  table).

* Process escape sequences in show-buffer.

* Add a -l flag to display-message to disable format expansion.

* Add paste-buffer-deleted notification and fix name of paste-buffer-changed.

* Do not attempt to connect to the socket as a client if systemd is active.

* Add scroll-top and scroll-bottom commands to scroll so cursor is at top or
  bottom.

* Add a -T flag to capture-pane to stop at the last used cell instead of the
  full width. Restore the previous behaviour by making it default to off unless
  -J is used.

* Add message-line option to control where message and prompt go.

* Notification when a paste buffer is deleted.

* Add a Nobr terminfo(5) capability to tell tmux the terminal does not use bright
  colours for bold.

* Change g and G to go to top and bottom in menus.

* Add a third state "all" to allow-passthrough to work even in invisible panes.

* Add support for OSC 8 hyperlinks.

* Store the time lines are scrolled into history and display in copy mode.

* Add a %config-error reply to control mode for configuration file errors since
  reporting them in view mode is useless.

* A new feature flag (ignorefkeys) to ignore terminfo(5) function key
  definitions for rxvt.

* Pass through first argument to OSC 52 (which clipboards to set) if the
  application provides it.

* Expand arguments to send-keys, capture-pane, split-window, join-pane where it
  makes sense to do so.

* Ignore named buffers when choosing a buffer if one is not specified by the user.

CHANGES FROM 3.3 TO 3.3a

* Do not crash when run-shell produces output from a config file.

* Do not unintentionally turn off all mouse mode when button mode is also
  present.

CHANGES FROM 3.2a TO 3.3

* Add an ACL list for users connecting to the tmux socket. Users may be
  forbidden from attaching, forced to attach read-only, or allowed to attach
  read-write. A new command, server-access, configures the list. File system
  permissions must still be configured manually.

* Emit window-layout-changed on swap-pane.

* Better error reporting when applying custom layouts.

* Handle ANSI escape sequences in run-shell output.

* Add pane_start_path to match start_command.

* Set PWD so shells have a hint about the real path.

* Do not allow pipe-pane on dead panes.

* Do not report mouse positions (incorrectly) above the maximum of 223 in
  normal mouse mode.

* Add an option (default off) to control the passthrough escape sequence.

* Support more mouse buttons when the terminal sends them.

* Add a window-resized hook which is fired when the window is actually resized
  which may be later than the client resize.

* Add next_session_id format with the next session ID.

* Add formats for client and server UID and user.

* Add argument to refresh-client -l to forward clipboard to a pane.

* Add remain-on-exit-format to set text shown when pane is dead.

* With split-window -f use percentages of window size not pane size.

* Add an option (fill-character) to set the character used for unused areas of
  a client.

* Add an option (scroll-on-clear) to control if tmux scrolls into history on
  clear.

* Add a capability for OSC 7 and use it similarly to how the title is set (and
  controlled by the same set-titles option).

* Add support for systemd socket activation (where systemd creates the Unix
  domain socket for tmux rather than tmux creating it). Build with
  --enable-systemd.

* Add an option (pane-border-indicators) to select how the active pane is shown
  on the pane border (colour, arrows or both).

* Support underscore styles with capture-pane -e.

* Make pane-border-format a pane option rather than window.

* Respond to OSC 4 queries

* Fix g/G keys in modes to do the same thing as copy mode (and vi).

* Bump the time terminals have to respond to device attributes queries to three
  seconds.

* If automatic-rename is off, allow the rename escape sequence to set an empty
  name.

* Trim menu item text more intelligently.

* Add cursor-style and cursor-colour options to set the default cursor style
  and colour.

* Accept some useful and non-conflicting emacs keys in vi normal mode at the
  command prompt.

* Add a format modifier (c) to force a colour to RGB.

* Add -s and -S to display-popup to set styles, -b to set lines and -T to set
  popup title. New popup-border-lines, popup-border-style and popup-style
  options set the defaults.

* Add -e flag to set an environment variable for a popup.

* Make send-keys without arguments send the key it is bound to (if bound to a
  key).

* Try to leave terminal cursor at the right position even when tmux is drawing
  its own cursor or selection (such as at the command prompt and in choose
  mode) for people using screen readers and similar which can make use of it.

* Change so that {} is converted to tmux commands immediately when parsed. This
  means it must contain valid tmux commands. For commands which expand %% and
  %%%, this now only happens within string arguments. Use of nested aliases
  inside {} is now forbidden. Processing of commands given in quotes remains
  the same.

* Disable evports on SunOS since they are broken.

* Do not expand the file given with tmux -f so it can contain :s.

* Bump FORMAT_LOOP_LIMIT and add a log message when hit.

* Add a terminal feature for the mouse (since FreeBSD termcap does not have kmous).

* Forbid empty session names.

* Improve error reporting when the tmux /tmp directory cannot be created or
  used.

* Give #() commands a one second grace period where the output is empty before
  telling the user they aren't doing anything ("not ready").

* When building, pick default-terminal from the first of tmux-256color, tmux,
  screen-256color, screen that is available on the build system (--with-TERM
  can override).

* Do not close popups on resize, instead adjust them to fit.

* Add a client-active hook.

* Make window-linked and window-unlinked window options.

* Do not configure on macOS without the user making a choice about utf8proc
  (either --enable-utf8proc or --disable-utf8proc).

* Do not freeze output in panes when a popup is open, let them continue to
  redraw.

* Add pipe variants of the line copy commands.

* Change copy-line and copy-end-of-line not to cancel and add -and-cancel
  variants, like the other copy commands.

* Support the OSC palette-setting sequences in popups.

* Add a pane-colours array option to specify the defaults palette.

* Add support for Unicode zero-width joiner.

* Make newline a style delimiter as well so they can cross multiple lines for
  readability in configuration files.

* Change focus to be driven by events rather than scanning panes so the
  ordering of in and out is consistent.

* Add display-popup -B to open a popup without a border.

* Add a menu for popups that can be opened with button three outside the popup
  or on the left or top border. Resizing now only works on the right and bottom
  borders or when using Meta. The menu allows a popup to be closed, expanded to
  the full size of the client, centered in the client or changed into a pane.

* Make command-prompt and confirm-before block by default (like run-shell). A
  new -b flags runs them in the background as before. Also set return code for
  confirm-before.

* Change cursor style handling so tmux understands which sequences contain
  blinking and sets the flag appropriately, means that it works whether cnorm
  disables blinking or not. This now matches xterm's behaviour.

* More accurate vi(1) word navigation in copy mode and on the status line. This
  changes the meaning of the word-separators option: setting it to the empty
  string is equivalent to the previous behavior.

* Add -F for command-prompt and use it to fix "Rename" on the window menu.

* Add different command histories for different types of prompts ("command",
  "search" etc).

CHANGES FROM 3.2 TO 3.2a

* Add an "always" value for the "extended-keys" option; if set then tmux will
  forward extended keys to applications even if they do not request them.

* Add a "mouse" terminal feature so tmux can enable the mouse on terminals
  where it is known to be supported even if terminfo(5) says otherwise.

* Do not expand the filename given to -f so it can contain colons.

* Fixes for problems with extended keys and modifiers, scroll region,
  source-file, cross compiling, format modifiers and other minor issues.

CHANGES FROM 3.1c TO 3.2

* Add a flag to disable keys to close a message.

* Permit shortcut keys in buffer, client, tree modes to be configured with a
  format (-K flag to choose-buffer, choose-client, choose-tree).

* Add a current_file format for the config file being parsed.

* When display-message used in config file, show the message after the config
  file finishes.

* Add client-detached notification in control mode.

* Improve performance of format evaluation.

* Make jump command support UTF-8 in copy mode.

* Support X11 colour names and other colour formats for OSC 10 and 11.

* Add "pipe" variants of "copy-pipe" commands which do not copy.

* Include "focused" in client flags.

* Send Unicode directional isolate characters around horizontal pane borders if
  the terminal supports UTF-8 and an extension terminfo(5) capability "Bidi" is
  present.

* Add a -S flag to new-window to make it select the existing window if one
  with the given name already exists rather than failing with an error.

* Add a format modifier to check if a window or session name exists (N/w or
  N/s).
