Dane Jensen
584cafa284
fix(floating_panes): Fixed tiled cell detection and removed dead guard.
...
When checking for space to split a layout cell, the window pane associated with that cell is needed to check for options. This fixes an incomplete scan for that window pane while updating the documentation to be more clear. There was also a redundant guard that just added noise that is now removed.
2026-06-18 15:05:38 -07:00
Dane Jensen
8a4a150a1a
Fixed tiled cell detection and removed dead guard.
2026-06-18 15:01:21 -07:00
Dane Jensen
de41b93b73
Merge branch 'master' into floating_panes
2026-06-18 12:54:11 -07:00
Thomas Adam
55b2e748e7
Merge branch 'obsd-master'
2026-06-18 13:15:05 +01:00
Thomas Adam
3246331876
Merge branch 'obsd-master'
2026-06-18 13:00:05 +01:00
Nicholas Marriott
6d9fbb0e97
Update regress for format changes.
2026-06-18 12:55:13 +01:00
nicm
14fc4a06a6
Unescape arguments before passing to format_expand1 so that escaping :s
...
etc actually works.
2026-06-18 11:54:37 +00:00
nicm
cba4ba9cdc
Check time periodically in loops rather than every one.
2026-06-18 11:45:08 +00:00
Thomas Adam
937d99150c
Merge branch 'obsd-master'
2026-06-18 12:15:05 +01:00
nicm
0a6c846091
Use evbuffer for building S, W, L lists, also add an xmemdup helper
...
instead of misusing asprintf.
2026-06-18 10:56:22 +00:00
Thomas Adam
c6b8ad6e7e
Merge branch 'obsd-master'
2026-06-18 11:15:07 +01:00
nicm
d92a479d2f
Add a dim= style attribute to dim the colours (as best as tmux is able
...
to). GitHub issue 4842.
2026-06-18 09:59:55 +00:00
Thomas Adam
f242182840
Merge branch 'obsd-master'
2026-06-18 10:30:05 +01:00
Thomas Adam
f5871369cc
Merge branch 'obsd-master'
2026-06-18 10:15:06 +01:00
nicm
b1b184cdb8
Add functions to work out cell neighbours, and to remove a tiled cell.
...
From Dane Jensen.
2026-06-18 09:11:24 +00:00
nicm
1a6de01210
Check the panes again if deferred redraw to make sure the flag is always
...
set. Also add a helper for the loop.
2026-06-18 08:56:07 +00:00
Dane Jensen
4aa1dd3ae8
Merge pull request #5239 from daneofmanythings/fp--missing-flag-move-pane
...
fix(floating_panes): Added missing `-D` flag from `move-pane` .args field.
2026-06-17 15:01:03 -07:00
Dane Jensen
be33d01663
Added missing -D flag from move-pane .args field.
2026-06-17 14:59:34 -07:00
Dane Jensen
fdcb93a467
Merge branch 'master' into floating_panes
2026-06-17 14:32:01 -07:00
Thomas Adam
1dd2589a42
Merge branch 'obsd-master'
2026-06-17 14:30:05 +01:00
nicm
3485e1c089
Tidy up server_client_check_redraw. Get rid of the bitmask tracking
...
panes which want redraw for deferred clients - if they are deferred then
they can just have a full redraw instead. Also return earlier if no
redraw is actually needed, and improve the comments.
2026-06-17 13:22:48 +00:00
Thomas Adam
6f7965e4f1
Merge branch 'obsd-master'
2026-06-17 14:00:05 +01:00
nicm
1ba8fa6f04
Fix shifts to 1ULL and check scrollbar even if pane is not being redrawn.
2026-06-17 12:32:54 +00:00
Thomas Adam
6eb67fcc5f
Merge branch 'obsd-master'
2026-06-17 09:15:05 +01:00
Thomas Adam
a8abea8247
Merge branch 'obsd-master'
2026-06-17 09:00:07 +01:00
nicm
d4defd943a
Add -M to move-pane and default bindings for M-drag. From Michael Grant.
2026-06-17 07:52:21 +00:00
nicm
eafd2bed5d
FIx a couple of minor errors in use of layout_cell_is_tiled.
2026-06-17 07:43:55 +00:00
Dane Jensen
c54f7ec95e
Remove extra code.
2026-06-16 13:43:13 -07:00
Dane Jensen
f8448764e2
Merge branch 'master' into floating_panes
2026-06-16 13:38:33 -07:00
Thomas Adam
6549765930
Makefile: add window-visible.c
2026-06-16 12:55:41 +01:00
Thomas Adam
6cb2233cd2
Merge branch 'obsd-master'
2026-06-16 12:55:00 +01:00
nicm
9ad75e1dc3
Rename the visible ranges functions since they really relate to windows
...
and put them nto a new file.
2026-06-16 10:47:35 +00:00
Thomas Adam
bec0f7d975
Merge branch 'obsd-master'
2026-06-16 11:00:05 +01:00
nicm
4b772fd783
Allow rectangle selection to extend past end of current line to behave
...
the same as vi with virtualedit=block set. From Mark Kelly in GitHub
issue 5227.
2026-06-16 09:28:17 +00:00
Thomas Adam
1d026b921c
Merge branch 'obsd-master'
2026-06-16 10:15:14 +01:00
nicm
fcbb6a7384
Initialize wname so it we are not freeing garbage if it is not used.
2026-06-16 09:00:25 +00:00
nicm
bdc01f44de
Fix resizing floating pane with a left scrollbar, from Michael Grant.
2026-06-16 08:57:07 +00:00
nicm
d2c23773ff
Fix missing border when drawing floating panes. From Michael Grant.
2026-06-16 08:53:14 +00:00
Nicholas Marriott
38dc3ec0da
Prefer libtinfow if it is available, GitHub issue 5224 from Lars Wendler.
2026-06-16 09:48:04 +01:00
Thomas Adam
c03acc9572
Merge branch 'obsd-master'
2026-06-16 08:15:07 +01:00
nicm
30e133d36a
Fix default window check in break-pane, from Dane Jensen.
2026-06-16 07:07:49 +00:00
nicm
0890df5891
Add layout_cell_is_tiled and layout_cell_has_tiled_child helper
...
functions, from Dane Jensen.
2026-06-16 07:06:32 +00:00
Thomas Adam
d223a49d18
Merge branch 'obsd-master'
2026-06-16 06:15:05 +01:00
jsg
26285e183e
botton -> bottom
2026-06-16 05:01:56 +00:00
Dane Jensen
f71e81c483
Merge pull request #5230 from daneofmanythings/fp--is_visible
...
fix(floating_panes): changed `window_pane_visible` to `window_pane_is_visible`
2026-06-15 21:20:03 -07:00
Dane Jensen
9bd53b8565
changed window_pane_visible to window_pane_is_visible
2026-06-15 21:18:47 -07:00
Dane Jensen
dde9dda1a4
Merge branch 'master' into floating_panes
2026-06-15 16:52:21 -07:00
Thomas Adam
408e9f1481
Merge branch 'obsd-master'
2026-06-15 23:00:06 +01:00
Nicholas Marriott
7c8344930b
Add a test for names.
2026-06-15 22:47:39 +01:00
nicm
482e254a49
Rename window_pane_visible to match other functions, from Dane Jensen.
2026-06-15 21:47:01 +00:00