Commit Graph

12286 Commits

Author SHA1 Message Date
Michael Grant
b9272d2f7b Merge branch 'master' into hidden-panes 2026-10-03 22:20:57 +01:00
Nicholas Marriott
59387debff Fix test. 2026-10-03 08:41:26 +01:00
Nicholas Marriott
ba738e8155 Fix another test on macOS. 2026-10-03 08:28:51 +01:00
Nicholas Marriott
6916a74c0b Fix another test on macOS. 2026-10-03 08:28:21 +01:00
Nicholas Marriott
bc3cf3bfa8 Fix another test on macOS. 2026-10-03 08:28:02 +01:00
Nicholas Marriott
c4a8eeb236 Fix test again. 2026-10-03 07:59:23 +01:00
Nicholas Marriott
3bdbaacd94 Fix test on macOS. 2026-10-03 07:48:52 +01:00
tmux update bot
596d04a193 Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Include menus when working out what parts of a pane are visible to avoid overwriting them, GitHub issue 5593.
  Modify display-message -c target-client to use the data relative to target-client, GitHub issue 5613 from Michael Grant.
  Quote session_alert in status-format[2], GitHub issue 5671.
  Only skip collecting text except for right margin when autowrap is off, from Jang-Ho Hwang.
  Change to the new working directory even if getcwd fails, GitHub issue 5658.
2026-10-02 19:21:31 +00:00
nicm
a21247a508 Include menus when working out what parts of a pane are visible to avoid
overwriting them, GitHub issue 5593.
2026-10-02 19:21:29 +00:00
nicm
aed667218b Modify display-message -c target-client to use the data relative to
target-client, GitHub issue 5613 from Michael Grant.
2026-10-02 19:21:29 +00:00
nicm
47c789a097 Quote session_alert in status-format[2], GitHub issue 5671. 2026-10-02 19:21:29 +00:00
nicm
dfcb588029 Only skip collecting text except for right margin when autowrap is off,
from Jang-Ho Hwang.
2026-10-02 19:21:29 +00:00
nicm
a8523db838 Change to the new working directory even if getcwd fails, GitHub issue 5658. 2026-10-02 19:21:29 +00:00
Nicholas Marriott
f37d4c0553 Test for 5593. 2026-10-02 16:21:13 +01:00
Nicholas Marriott
24cde9e0eb Test for 5613. 2026-10-02 16:13:12 +01:00
Nicholas Marriott
ec2f2d9f99 Tes for 5656. 2026-10-02 15:17:12 +01:00
Nicholas Marriott
5f278c8f2a Regress for damage rectangles. 2026-10-02 15:15:02 +01:00
tmux update bot
92e14631d3 Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Sync redraw should use the given rows not the scroll region now.
  Instead of redrawing the entire pane or scene when moving or redrawing a pane, add damage rectangles and redraw only the affected spans. From Michael Grant.
  Do not leak client if lost before configuration is loaded, and do not load multiple times. GitHub issues 5661 and 5662 from Alexandre Fiori.
  Restore the zoom when swap-pane refuses a floating pane, GitHub issue 5660 from Alexandre Fiori.
  Do not use client for copy-mode -S if NULL, reported by Martin Vlach.
2026-10-02 14:10:43 +00:00
nicm
556235fbe2 Sync redraw should use the given rows not the scroll region now. 2026-10-02 14:10:41 +00:00
nicm
0a1adfa116 Instead of redrawing the entire pane or scene when moving or redrawing a
pane, add damage rectangles and redraw only the affected spans. From
Michael Grant.
2026-10-02 14:10:41 +00:00
nicm
950a7f6631 Do not leak client if lost before configuration is loaded, and do not load
multiple times. GitHub issues 5661 and 5662 from Alexandre Fiori.
2026-10-02 14:10:41 +00:00
nicm
a511a7ab55 Restore the zoom when swap-pane refuses a floating pane, GitHub issue
5660 from Alexandre Fiori.
2026-10-02 14:10:41 +00:00
nicm
5932140d30 Do not use client for copy-mode -S if NULL, reported by Martin Vlach. 2026-10-02 14:10:41 +00:00
Nicholas Marriott
4712726062 Tests for 5661 etc, from Alexandre Fiori. 2026-10-02 13:28:16 +01:00
Nicholas Marriott
ff1364a19c copy-mode -S test. 2026-10-02 13:13:32 +01:00
Michael Grant
6b64ff92e6 Do not count siblings of a hidden pane that is the root of the layout.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-01 21:02:12 +01:00
Michael Grant
0ce3f20a2d Hide the zoomed panes when a covered tiled pane is activated.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-01 21:02:12 +01:00
Michael Grant
42f6f3ca26 Make show desktop a cycle and ignore hidden zooms in window_zoomed_flag.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-01 21:02:04 +01:00
Michael Grant
2345f71df9 Bugfixes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 21:02:04 +01:00
Michael Grant
435e2f8efb Add a test of tiled, floating, zoomed and hidden pane combinations.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 21:02:04 +01:00
Michael Grant
24d0ead2b2 Show a hidden pane when it is zoomed, and skip hidden panes when moving.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 21:02:04 +01:00
Michael Grant
c50d075122 Keep focus on a visible pane when panes are shown, spawned or closed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 21:02:04 +01:00
Michael Grant
e0815b51f6 Do not show the cursor for a hidden active pane.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 21:02:04 +01:00
Michael Grant
fa4ebf2534 Show a hidden active pane when it is selected from the pane list.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 21:02:04 +01:00
Michael Grant
59d714569f Scale pane on unhiding to window when necessary
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 21:02:04 +01:00
Michael Grant
d6cf5e0e4d Add hidden panes and a "show desktop" button to the pane list.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 21:02:04 +01:00
Michael Grant
291c043080 Raise a floating or zoomed pane when its border is clicked.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-01 21:01:50 +01:00
Michael Grant
64d5c585c6 Do not raise a pane when the mouse moves onto it.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-01 21:01:50 +01:00
Michael Grant
03c87a8b2f Use the pane's own zoom flag for the border button.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 16:18:27 +01:00
Michael Grant
d1a365b472 Add tests for zoomed and floating panes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 09:00:55 +01:00
Michael Grant
033c6ecb9f Cleanup.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 09:00:55 +01:00
Michael Grant
7f84dfd3c7 Let move-pane reorder zoomed panes, and record zoom in layouts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 09:00:55 +01:00
Michael Grant
7810f8abf3 Zoomed panes are now like full screen floating panes. 2026-10-01 09:00:55 +01:00
Nicholas Marriott
5a820e63b7 Update CHANGES. 2026-09-30 14:38:50 +01:00
Nicholas Marriott
8d3172f4d4 Fix test on macOS. 2026-09-30 06:46:05 +01:00
tmux update bot
e04f7876c9 Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Add NULL checks for clients that may not have identified yet, GitHub issue 5663.
2026-09-29 23:00:12 +00:00
nicm
4a98a9dea8 Add NULL checks for clients that may not have identified yet, GitHub
issue 5663.
2026-09-29 23:00:10 +00:00
Nicholas Marriott
5e4b8cc39e Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Do not format times that localtime_r and ctime_r cannot convert, from Alexandre Fiori.
  Add a maximum repeat size as well as count.
2026-09-29 20:08:52 +01:00
nicm
c34432980f Do not format times that localtime_r and ctime_r cannot convert, from
Alexandre Fiori.
2026-09-29 19:03:18 +00:00
nicm
1bb90bdd62 Add a maximum repeat size as well as count. 2026-09-29 19:03:18 +00:00