Commit Graph

  • f67cf7d053 Return static range as last resort. Michael Grant 2026-01-29 11:46:21 +00:00
  • 66011fe48b Do not treat cells as empty unless the background colour stays the same. Fixes invisible clock in clock mode, reported by tb@. nicm 2026-01-29 09:08:19 +00:00
  • 2ad0f4a9e7 Merge branch 'master' into floating_panes Nicholas Marriott 2026-01-29 08:43:41 +00:00
  • d7f59eccaf Merge branch 'obsd-master' Thomas Adam 2026-01-28 17:25:42 +00:00
  • 1ec9ca497b Merge with visible_ranges banch. Convert visible_ranges to new style. Michael Grant 2026-01-28 15:26:00 +00:00
  • e652213855 Merge branch 'obsd-master' Thomas Adam 2026-01-23 10:50:55 +00:00
  • f70150a663 Replace overlay_ranges with visible_ranges which can hold more than three ranges (will be needed for floating panes); move the visible ranges checks outside of tty_draw_line and rewrite it to fix issues with partially-obscured wide characters. With Michael Grant. nicm 2026-01-23 10:45:53 +00:00
  • dd5d0f4f0c Merge master. Michael Grant 2026-01-23 09:29:39 +00:00
  • fe52f76913 Fiddle with some more warnings. Nicholas Marriott 2026-01-22 15:02:42 +00:00
  • 0d9c3c895c Stick the pragmas outside the function (make GCC 4 happier) and under __GNUC__. Nicholas Marriott 2026-01-22 14:29:29 +00:00
  • 6525bb7cef Line length/style nits. Nicholas Marriott 2026-01-22 14:16:39 +00:00
  • 0790e74f84 Fix strftime warning in gcc. Michael Grant 2026-01-22 14:11:00 +00:00
  • 195a9cfd88 When history-limit is changed, apply to existing panes, not just new ones. GitHub issue 4705. nicm 2026-01-22 08:55:01 +00:00
  • ecbf8d76d0 Reevaluate menu and popup styles on each draw to allow them to change when options change, from Josh Cooper in GitHub issues 4828 and 4829. nicm 2026-01-22 07:52:24 +00:00
  • 818745a605 Set PANE_STYLECHANGED when user options change, from Josh Cooper in GitHub issue 4825. nicm 2026-01-22 07:42:30 +00:00
  • 26aacd0e32 Handle theme keys earlier so they are processed even if a popup is open. From Josh Cooper in GitHub issue 4827. nicm 2026-01-22 07:39:35 +00:00
  • d1a6ce8e7f Associate each visible_ranges with some other object (tty, popup_data, etc) so it is easier to keep track of its lifecycle, but still avoid allocating for each use. Nicholas Marriott 2026-01-21 21:26:32 +00:00
  • b22537e8a4 Conflict resolve. Michael Grant 2026-01-21 19:36:05 +00:00
  • a25c14d472 Change overlay_ranges into visible_ranges. Michael Grant 2026-01-21 19:34:19 +00:00
  • 7730d38339 Skip correct width when moving to next position. Nicholas Marriott 2026-01-21 15:58:11 +00:00
  • 58e498c9d3 Use right cell for empty check. Nicholas Marriott 2026-01-21 15:35:33 +00:00
  • 35485f2b5e Fix selection with tty_draw_line. Nicholas Marriott 2026-01-21 12:23:46 +00:00
  • 8e06739e26 Fix window-size=latest not resizing on switch-client in session groups. From Ilya Grigoriev in GitHub issue 4818. nicm 2026-01-20 22:50:08 +00:00
  • b108653f02 Change overlay_ranges to visible_ranges. Nicholas Marriott 2026-01-20 21:09:30 +00:00
  • 25f72cf240 Rewrite tty_draw_line to be simpler and not to check overlay ranges. Nicholas Marriott 2026-01-20 21:08:49 +00:00
  • ab1f2ef71c Add a function to convert a screen to a string, from Michael Grant. nicm 2026-01-20 16:32:05 +00:00
  • d2e09cb259 Add a --enable-optimizations configure flag. Nicholas Marriott 2026-01-20 15:42:22 +00:00
  • bf8ea85bd7 Merge branch 'obsd-master' Thomas Adam 2026-01-19 10:01:08 +00:00
  • 9c0aeaff40 Now the copy mode indicator can be changed, we need to redraw it when the cursor is moved. GitHub issue 4774. nicm 2026-01-19 08:20:51 +00:00
  • 95b4bb51c6 Merge branch 'obsd-master' Thomas Adam 2026-01-14 22:01:08 +00:00
  • 1e5f93b7b6 Add -e flag to command-prompt to close if empty, from Dane Jensen in GitHub issue 4812. nicm 2026-01-14 19:43:43 +00:00
  • b89d46bb00 Add a regression test from Ilya Grigoriev. Nicholas Marriott 2026-01-13 20:29:21 +00:00
  • 97d61131df Merge branch 'obsd-master' Thomas Adam 2026-01-12 10:01:08 +00:00
  • 5721767921 Correctly draw indicators when pane-border-indicators is set to both. Reported by Ilya Grigoriev in GitHub issue 4780. nicm 2026-01-12 07:50:16 +00:00
  • a443531280 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. GitHub issue 4795 from Shaobo Song. nicm 2026-01-12 07:48:36 +00:00
  • ad083677c5 Merge branch 'obsd-master' Thomas Adam 2026-01-11 14:01:08 +00:00
  • 426467856d Add paste to the default pane menu, GitHub issue 4763. nicm 2026-01-11 11:48:46 +00:00
  • d1df8dcccc focus-follows-mouse: honour floating panes Thomas Adam 2026-01-09 19:00:17 +00:00
  • 844042744e Merge branch 'obsd-master' Thomas Adam 2026-01-09 18:01:07 +00:00
  • 65b3a95be8 Removing padding needs to go through screen_write_collect_trim or there may end up multiple items covering the same region. nicm 2026-01-09 15:04:00 +00:00
  • a50d00aa47 Merge pull request #4799 from tmux/master Michael Grant 2026-01-09 11:30:16 +01:00
  • ca95950148 Merge branch 'obsd-master' Thomas Adam 2026-01-08 14:01:08 +00:00
  • 6234d79852 Do not set manual size if no window. nicm 2026-01-08 12:05:02 +00:00
  • a5d8b92012 Merge branch 'obsd-master' Thomas Adam 2026-01-08 10:01:08 +00:00
  • 890cfc6dc3 Copy palette responses before processing them since they are not strings. nicm 2026-01-08 07:54:23 +00:00
  • 34add944f2 Merge branch 'master' into feature-floating-window-panes Michael Grant 2026-01-07 23:41:29 +01:00
  • 95f85efc49 Fix some of the offset issues when windows size is greater than tty size. Michael Grant 2026-01-07 22:28:23 +00:00
  • 0e6fc2e88b Merge branch 'obsd-master' Thomas Adam 2026-01-07 22:01:07 +00:00
  • c8ccd420be Reduce request timeout to 500 milliseconds to match the extended escape-time, and discard palette requests if receiving a reply for a different index. nicm 2026-01-07 20:16:32 +00:00
  • ff4f6b9066 Extend escape timeout if there are active forwarded requests not just tmux's own requests. GitHub issue 4793. nicm 2026-01-07 20:03:34 +00:00
  • 7cffa2de78 Merge branch 'obsd-master' Thomas Adam 2026-01-07 20:01:09 +00:00
  • e2afaaea75 Correct redrawing of wide characters when overwritten. Reported by Jake Stewart in GitHub issue 4737. nicm 2026-01-07 18:29:15 +00:00
  • 75d3974c12 Merge branch 'obsd-master' Thomas Adam 2026-01-07 10:01:08 +00:00
  • 583f12ea71 Work out the default command from the queue in case it has been set from the config file, GitHub issue 4791. nicm 2026-01-07 08:16:20 +00:00
  • 3de7a8ad8d Merge branch 'obsd-master' Thomas Adam 2026-01-06 22:01:07 +00:00
  • f6c9052082 If cannot find a terminator for palette responses, treat as a partial key not complete. GitHub issue 4749. nicm 2026-01-06 20:09:42 +00:00
  • f226804149 Do not send theme unless it has changed, and do not send immediately when updates are enabled. GitHub issue 5787. nicm 2026-01-06 20:05:57 +00:00
  • f2f6a05e2c Add cmd-minimise-pane.c Michael Grant 2026-01-06 16:44:38 +00:00
  • cf94486e32 Merge branch 'obsd-master' Thomas Adam 2026-01-06 16:01:07 +00:00
  • 035a2f35d4 Clear trimmed lines after moving, from Antony Raj in GitHub issue 4790. nicm 2026-01-06 14:33:05 +00:00
  • 9b7732eac4 Merge branch 'obsd-master' Thomas Adam 2026-01-06 12:01:07 +00:00
  • 5f9dac8abc Do not use ;;s in list-keys output as it is confusing and cannot be parsed on input, from Patrick Motard in GitHub issue 4750. nicm 2026-01-06 10:17:29 +00:00
  • ccd4dd7ff2 Do not log theme if pane is NULL. nicm 2026-01-06 09:11:15 +00:00
  • 77417b7cbe Merge branch 'obsd-master' Thomas Adam 2026-01-05 10:01:08 +00:00
  • 6a7cd79a63 Redraw pane borders when entering or leaving alternate screen, from Mike Jonkmans in GitHub issue 4788. nicm 2026-01-05 08:32:19 +00:00
  • baa3b51b3e Do not use client if there isn't one, GitHub issue 4789. nicm 2026-01-05 08:30:30 +00:00
  • abeba4910c Merge branch 'obsd-master' Thomas Adam 2026-01-04 10:01:08 +00:00
  • 356d0aedbd Remove an unused declaration (from OpenBSD, same change also sent by Mike Jonkmans). Nicholas Marriott 2026-01-04 08:40:46 +00:00
  • 45f23f3a59 Minor tidying of cmd_list_print from Pavel Roskin. nicm 2026-01-04 08:38:26 +00:00
  • 6ef7375ade Add some missing logging bits for themes. nicm 2026-01-04 08:05:14 +00:00
  • 00030aabf7 Merge branch 'obsd-master' Thomas Adam 2025-12-25 20:01:08 +00:00
  • f72832cc08 Add focus-follows-mouse option, from Barry Wasdell in GitHub issue 4771. nicm 2025-12-25 18:07:00 +00:00
  • b5c33ca2b7 Add selection_mode format variable for copy mode, from Mike Jonkmans in GitHub issue 4773. nicm 2025-12-25 18:05:15 +00:00
  • bd442a27ee Fix some redraw issues. Fix scrollbar left/right display issues. Michael Grant 2025-12-24 10:45:17 +00:00
  • d607399850 Merge branch 'obsd-master' Thomas Adam 2025-12-22 10:01:08 +00:00
  • d005803934 Add prompt-command-cursor-style, from Joshua Cooper in GitHub issue 4765. nicm 2025-12-22 08:41:01 +00:00
  • a22ec275b4 With status-keys vi, move the cursor left by one when pressing Escape to enter command mode, like vi. GitHub issue 4767 from Joshua Cooper. nicm 2025-12-22 08:39:35 +00:00
  • 188f963fe0 Add {current}/{active} for -t for current window or active pane, from Manuel Einfalt in GitHub issue 4766. nicm 2025-12-22 08:35:04 +00:00
  • 9c5df33325 Merge branch 'obsd-master' Thomas Adam 2025-12-19 10:01:07 +00:00
  • 74f60951cc Do not leak items if not using them because of synchronized update. nicm 2025-12-19 08:46:25 +00:00
  • 73c0eb96c3 Merge branch 'master' into feature-floating-window-panes Michael Grant 2025-12-18 23:14:59 +01:00
  • 6a4a4a432b Add support to minimise panes, both tiled and floating. New PREFIX _ key binding to minimise a pane. New functions minimise-pane and unminimise-pane. Add double-click on pane in status to minimise pane. Single click on pane in status unminimises pane. Michael Grant 2025-12-18 18:19:17 +00:00
  • 54202fcaad Check image size against available screen size properly, GitHub issue 4739. Nicholas Marriott 2025-12-18 13:44:17 +00:00
  • fe645c5bcc Fix image scrolling at exact screen height, and add more logging for images. Nicholas Marriott 2025-12-18 09:05:37 +00:00
  • 86c15d7ae9 Merge branch 'obsd-master' Thomas Adam 2025-12-17 14:01:08 +00:00
  • 3c36d5e433 Merge branch 'obsd-master' Thomas Adam 2025-12-17 12:01:07 +00:00
  • 1c7e164c22 Add support for applications to use synchronized output mode (DECSET 2026) to prevent screen tearing during rapid updates. When an application sends SM ?2026, tmux buffers output until RM ?2026 is received or a 1-second timeout expires. nicm 2025-12-17 11:49:29 +00:00
  • ce7eb22e3a Do not have a default prompt cursor colour because some terminals (urxvt, st) do not support the reset sequence. GitHub issue 4759. nicm 2025-12-17 10:20:21 +00:00
  • 739a97140f Merge branch 'obsd-master' Thomas Adam 2025-12-17 10:01:07 +00:00
  • 99ed397e9c Make clock mode seconds synchronized to the second, GitHub issue 4760 from Joao Pedro. nicm 2025-12-17 08:38:12 +00:00
  • d2c7668bc2 Merge branch 'obsd-master' Thomas Adam 2025-12-16 00:01:08 +00:00
  • 7abf3e8bdf Note that switch-client only changes the key table for one key, pointed out by Jeenu Viswambharan. nicm 2025-12-15 21:21:25 +00:00
  • 506b4db762 Merge branch 'obsd-master' Thomas Adam 2025-12-15 15:19:29 +00:00
  • 21c27fdcae Simplify argument move using TAILQ_CONCAT() bket 2025-12-11 04:17:17 +00:00
  • 672e89a640 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, GitHub issue 4731. nicm 2025-12-10 21:24:43 +00:00
  • 263529e886 Cleanup from previous commit. Michael Grant 2025-12-09 20:11:44 +00:00
  • 818797ff08 Fix scrolling issue that collided with PR #4738 Fix y offset of mouse if status at top. Michael Grant 2025-12-09 17:47:36 +00:00
  • d263dbe9dd Merge branch 'tmux:master' into feature-floating-window-panes Michael Grant 2025-12-09 13:35:31 +00:00
  • 67319ad9d9 Fix tty-clear-area and make aware of floating panes. Michael Grant 2025-12-09 13:34:26 +00:00
  • 4b810ae493 Add a define for max images and bump to 20 for the moment. Nicholas Marriott 2025-12-09 08:46:00 +00:00