Nicholas Marriott
93e63cef18
Remove minimise from staging branch for the moment.
2026-05-19 11:36:25 +01:00
Nicholas Marriott
57b17bbb70
window_pane_move is not used.
2026-05-19 10:54:35 +01:00
Dane Jensen
7c23da598d
Fixed null dereference in window.c:window_pane_float_geometry when there is no target wp.
...
Conditions for the bug: start tmux, run `minimise-pane; new-pane`. Now fixed.
2026-05-19 00:21:48 +00:00
Dane Jensen
b7cc218a03
Fixed null dereference.
2026-05-18 17:14:19 -07:00
Dane Jensen
0ae8019e7f
Better api design and abstraction for new-pane and split-window.
...
While working on #5043 , feedback was given by @mgrant0 regarding api design that also required addressing in `new-pane` and `split-window`. This MR addresses that feedback (no subflags, flag restriction for semantic reasons, unified 'float' and 'tile' flags across commands).
2026-05-18 22:46:53 +00:00
Dane Jensen
c3fc0229e5
style fixes
2026-05-18 15:41:28 -07:00
Dane Jensen
76196b8ffa
Moved new-pane into split-window.
2026-05-18 13:48:50 -07:00
Nicholas Marriott
fd4e683151
Merge branch 'master' into floating_panes
2026-05-18 11:10:09 +01:00
Thomas Adam
a9ba7b8ecb
Merge branch 'obsd-master'
2026-05-18 09:38:02 +01:00
nicm
962d647993
Remove some leftover debug code.
2026-05-17 16:02:33 +00:00
nicm
a8520ba59e
Bring over some of layout and positioning code for floating panes, by
...
Michael Grant.
2026-05-17 16:01:42 +00:00
Nicholas Marriott
2b05d8531d
Merge branch 'master' into floating_panes
2026-05-17 15:55:09 +01:00
Nicholas Marriott
8e966688a7
If outside floating pane, do not carry on to check as if tiled pane.
2026-05-17 15:49:21 +01:00
nicm
f12d7b4e67
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 GitHub issue 5070.
2026-05-17 13:12:21 +00:00
nicm
bbea6e6375
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 GitHub issue 4527.
2026-05-17 13:01:04 +00:00
nicm
b24b8424b1
Switch to use backing grid not copy mode's grid for copy line, GitHub
...
issue 4995.
2026-05-17 12:38:04 +00:00
nicm
35bd1a4c02
Do not include unattached clients on sorted list, fixes crash reported
...
by Marcel Partap.
2026-05-17 11:17:16 +00:00
nicm
818352c3cd
Add some more explanatory text about targets, GitHub issue 4850.
2026-05-17 11:12:07 +00:00
nicm
742efe989f
Report file open errors more sensibly, reported by Meriel Luna
...
Mittelbach in GitHub issue 5081.
2026-05-17 10:54:01 +00:00
nicm
4cea1c7189
Add new-pane command, currently this is equivalent to split-window but
...
it will have minor differences for floating panes in future. Also add
-R/-s/-S/-k/-m flags to control border and style and behaviour, like
popups. GitHub issue 5027 from Dane Jensen.
2026-05-17 10:44:53 +00:00
Nicholas Marriott
18ddda48d2
More.
2026-05-16 12:18:41 +01:00
Nicholas Marriott
5651519f5d
Try to make Copilot shut up.
2026-05-16 12:07:09 +01:00
Michael Grant
c4ec9234e9
Fix to ignore minimised panes when redoing the layout.
2026-05-15 18:23:39 +01:00
Michael Grant
2e0eabbf0a
Fix screen_redraw_get_visible_ranges to ignore minimised panes.
2026-05-15 18:20:29 +01:00
Michael Grant
1b2435fab6
Fix bug where tty output of command outputing was getting written to the window aafter it was minimised.
2026-05-13 22:46:32 +01:00
Michael Grant
1ff3dafe4e
Fix crash when minimising pane.
2026-05-13 22:28:14 +01:00
nicm
281e8ff766
Fix a couple of bugs in tty_draw_line: do not loop forever if orphan
...
padding appears, or if a wide character is trimmed at the right of the
region. Much help with testing from qingliu at alauda dot io in GitHub
issue 5024.
2026-05-13 13:12:23 +00:00
nicm
dbc0710bc9
Update supported features for Foot, from Meriel Luna Mittelbach in
...
GutHub issue 5079.
2026-05-13 10:24:57 +00:00
nicm
8f28f31b78
Do not crash if set progress bar with no pane, from Dane Jensen.
2026-05-13 08:25:05 +00:00
Thomas Adam
3f651d9fa9
Merge branch 'obsd-master'
2026-05-12 16:01:08 +01:00
nicm
18fced7e7f
Make pane offsets signed, needed for floating panes.
2026-05-12 12:05:41 +00:00
Nicholas Marriott
6b16e93f1b
Merge branch 'master' into floating_panes
2026-05-12 12:38:31 +01:00
Thomas Adam
f1f0158741
Merge branch 'obsd-master'
2026-05-12 12:01:11 +01:00
nicm
3d6c542e34
Turn off the "is this a paste" guessing if the terminal supports bracket
...
pasting instead, GitHub issue 5031.
2026-05-12 10:28:09 +00:00
Nicholas Marriott
c3036116de
Update test output.
2026-05-12 10:38:29 +01:00
nicm
9e3653a612
Check FIONREAD for all panes not just piped panes, fixes issues with
...
tests, GitHub issue 4807.
2026-05-12 09:37:25 +00:00
nicm
27a00d1bfd
Fix infinite loop due to underflow when redrawing scrollbar, from Pavel
...
Lavrukhin in GitHub issue 4932.
2026-05-12 09:32:49 +00:00
Nicholas Marriott
b7467a3110
Merge pull request #5039 from daneofmanythings/layout-null-dereference
...
fix: fixed site of null dereference in layout.c
2026-05-12 10:27:54 +01:00
nicm
800837ff3f
Fix control mode teardown ordering for queued pane output, GitHub issue
...
5064 from Aaron Campbell.
2026-05-12 09:27:28 +00:00
Nicholas Marriott
bfbfb6dbf3
Avoid overshooting Sixel height in sixel_parse_write, GitHub issue 5071 from
...
nincsnevem662 at gmail dot com.
2026-05-11 12:00:06 +01:00
Thomas Adam
8fb1b1d412
Merge branch 'obsd-master'
2026-05-08 12:01:09 +01:00
nicm
af98467d0d
Do not cache format for status line because it stores various pointers
...
that might be stale, instead cache the cmd_find_state and rebuild the
formats every time they are needed. Reported by Marcel Partap in GitHub
isue 5065.
2026-05-08 06:57:38 +00:00
Thomas Adam
f9d50d580c
Merge branch 'obsd-master'
2026-05-07 12:01:08 +01:00
nicm
496805476e
Require layout prefix to be 5 characters, GitHub issue 5067 from
...
cglosner at gmail dot com.
2026-05-07 09:21:05 +00:00
nicm
962e565591
Add Emacs-style recentre-top-bottom, GitHub issue 5053 from sinyax75 at
...
gmail dot com.
2026-05-07 09:15:44 +00:00
Thomas Adam
862625a4bf
Merge branch 'obsd-master'
2026-05-06 16:01:09 +01:00
nicm
2d8aade74b
Add time limit to a couple of other loops.
2026-05-06 13:43:38 +00:00
Nicholas Marriott
2aad2cfc53
Add a configure flag for ASAN.
2026-05-06 08:23:45 +01:00
Thomas Adam
ad94405dac
Merge branch 'obsd-master'
2026-05-05 16:01:08 +01:00
nicm
518fcf7e03
Do not sanitize title when popping it from stack, also add a limit to
...
number of pushed titles.
2026-05-05 13:18:46 +00:00