Commit Graph

11450 Commits

Author SHA1 Message Date
Nicholas Marriott
12fdcea8b8 Get use of raster attributes in the right order, from aizumusheer2 at gmail dot
com in GitHub issue 5225.
2026-06-19 09:24:48 +01:00
nicm
035447b08f Do not dereference the current window if it is NULL (can be if the
notification fires after session is destroyed). GitHub issue 5244 from
Ben Maurer.
2026-06-19 08:21:55 +00:00
Nicholas Marriott
f02df683b3 Clip floating panes at window edge. 2026-06-19 00:24:30 +01:00
Nicholas Marriott
1ff45548ae Use entire client area if window is smaller. 2026-06-18 23:54:10 +01:00
Nicholas Marriott
8860c512ba Instead of clearing floating panes, just tell the border mark function it can
can overwrite.
2026-06-18 23:34:34 +01:00
Nicholas Marriott
944d289454 Tweak text. 2026-06-18 23:02:50 +01:00
Nicholas Marriott
37a1a13bfa Tweak. 2026-06-18 17:07:59 +01:00
Nicholas Marriott
0a5bcbe25a Wrapping. 2026-06-18 17:07:10 +01:00
Nicholas Marriott
70d67d1efe Tweak. 2026-06-18 17:05:07 +01:00
Nicholas Marriott
df4ad982c9 Add file comment. 2026-06-18 17:03:55 +01:00
Nicholas Marriott
569a0ef6ba Change some comments. 2026-06-18 16:43:55 +01:00
Nicholas Marriott
483e5f32ce Make screen_redraw_make_scene make sense. 2026-06-18 16:34:41 +01:00
Nicholas Marriott
1e12fef94d Rename redraw_cell to redraw_get_build_cell. 2026-06-18 16:07:57 +01:00
Nicholas Marriott
de9d2fe1e0 Rename screen_redraw_ to redraw_. 2026-06-18 16:06:34 +01:00
Nicholas Marriott
9288c7d0cb Rename CELL_* and some other functions. 2026-06-18 15:50:29 +01: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
Nicholas Marriott
c25270a7c3 Merge branch 'master' into screen_redraw 2026-06-18 11:17:20 +01: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
Nicholas Marriott
488472dbef Remove duplicate check. 2026-06-17 20:52:08 +01:00
Nicholas Marriott
62a27248bd Rename a function. 2026-06-17 18:09:50 +01:00
Nicholas Marriott
1965a06b56 Merge branch 'master' into screen_redraw 2026-06-17 14:52:39 +01: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
Nicholas Marriott
618d4186f0 Fix position of pane status line. 2026-06-17 00:03:41 +01:00
Nicholas Marriott
1ab8bde0b1 Spacing nit. 2026-06-16 23:54:18 +01:00
Nicholas Marriott
2ce8ff9e6d Some trivial optimizations. 2026-06-16 23:31:52 +01:00
Nicholas Marriott
9212ecea84 Add some logging. 2026-06-16 23:17:28 +01:00
Nicholas Marriott
b7fa115aab Cache scene for client and invalidate when changes. 2026-06-16 23:04:57 +01:00
Nicholas Marriott
2af751d78d Use iterator to avoid walking all spans every time. 2026-06-16 22:44:43 +01:00
Nicholas Marriott
20ef8bd1c9 Some other fixes. 2026-06-16 22:41:44 +01:00
Nicholas Marriott
476724985b Fix a couple of bugs. 2026-06-16 22:26:01 +01:00
Nicholas Marriott
6c417be840 Final bits of redraw. 2026-06-16 21:42:35 +01:00
Nicholas Marriott
37f36a28b3 Add a context for common bits. 2026-06-16 19:21:37 +01:00