Commit Graph

  • d3522c328c Merge branch 'obsd-master' master Thomas Adam 2026-02-12 11:10:01 +00:00
  • 96e18faa93 Merge branch 'master' into floating_panes floating_panes Michael Grant 2026-02-11 09:40:21 +00:00
  • 476c6e89ad Check the overlay visible ranges when we have a tty and check the panes visible ranges when we have a wp. Overlays checked at tty level (for most part) and pane overlays checked at screen level where possible to keep separation of abstraction relatively clean. Michael Grant 2026-02-11 09:30:48 +00:00
  • 7e50eb0e83 Make paste_get_top return a copy of the buffer name which is more sensible and avoids a double free pointed out by DongHan Kim. nicm 2026-02-11 08:30:37 +00:00
  • 5b455abecc 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. nicm 2026-02-11 08:23:21 +00:00
  • 7d41761e84 Fix clients_calculate_size for manual type when window is NULL. From Elias Oenal in GitHub issue 4849. nicm 2026-02-10 10:02:11 +00:00
  • 25f6d8b1e9 Implement some obvious missing sort orders, from Dane Jensen in GitHub issue 4813. nicm 2026-02-10 09:55:53 +00:00
  • 5a33616e65 Check for no window when updating clients, GitHub issue 4851. nicm 2026-02-10 09:00:30 +00:00
  • 1cf17b06ae Batch printable output in control mode, from Conor Taylor in GitHub issue 4848. nicm 2026-02-10 08:40:03 +00:00
  • aa03706ed0 Remove redundant call to tty_attributes, from Conor Taylor in GitHub issue 4848. nicm 2026-02-10 08:34:43 +00:00
  • d8794e2b30 Check log level before log_debug in tty_draw_line, from Conor Taylor in GitHub issue 4848. nicm 2026-02-10 08:31:45 +00:00
  • b7939eb266 Don't call event_add again if the event is already pending, from Conor Taylor in GitHub issue 4848. nicm 2026-02-10 08:30:21 +00:00
  • 19b9a34c48 Only loop over clients if table actually found, from Conor Taylor in GitHub issue 4848. nicm 2026-02-10 08:28:53 +00:00
  • f016e08153 Fix wrong TAILQ member in input_cancel_requests from Conor Taylor in GitHub issue 4848. nicm 2026-02-10 08:27:17 +00:00
  • 7b1c503086 Clear search counts when clearing marks in case of repeated search, reported by Daniel Pereira in GitHub issue 4817. nicm 2026-02-06 10:28:42 +00:00
  • 5865001e4a Also check PANE_STATUSREADY for pane_dead format to match pane_dead_status. GitHub issue 4841 from Joshua Pollack. nicm 2026-02-06 10:23:26 +00:00
  • 62944da74b Make OSC 52 work in popups, from gogongxt at 163 dot com in GitHub issue 4797. nicm 2026-02-03 09:07:44 +00:00
  • 588013bb44 Refresh copy mode when style changes, from Josh Cooper in GitHub issue 4830. nicm 2026-02-03 08:53:58 +00:00
  • 615c27c117 Merge branch 'obsd-master' Thomas Adam 2026-02-02 19:06:25 +00:00
  • 3c3d9ce3a9 Break sorting out into a common file so formats and modes use the same code. Also add -O for sorting to the list commands. From Dane Jensen in GitHub issue 4813. nicm 2026-02-02 10:08:30 +00:00
  • b46a96d454 Second try with static visual_ranges using calloc. Michael Grant 2026-01-29 14:34:18 +00:00
  • 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