Commit Graph

11432 Commits

Author SHA1 Message Date
Michael Grant
579285b604 Reduce default scrollbar-auto-hide to 500ms. 2026-06-20 14:13:09 +02:00
Michael Grant
fe1c3db1e5 Fix cursor and redraw overlap with auto-hide scrollbars
Auto-hide scrollbars are drawn as overlays inside the pane rather than in
reserved columns. Avoid optimized pane scrolling/redraw paths writing through
a visible overlay scrollbar, and suppress the terminal cursor when it would be
placed in the visible overlay scrollbar column.

This prevents transient wrong-colour cells and cursor blocks appearing over
the scrollbar, especially when scrolling small floating panes.  This fixed
the green block issue.
2026-06-20 09:09:27 +02:00
Michael Grant
738083c4a4 Add scrollbar auto-hide feature. 2026-06-20 08:29:47 +02:00
Nicholas Marriott
cab77de83f Fix dim redraw. 2026-06-19 19:52:45 +01:00
Nicholas Marriott
a88cdc90a1 Merge branch 'master' into screen_redraw 2026-06-19 19:48:50 +01:00
Thomas Adam
e7c29d0ceb Merge branch 'obsd-master' 2026-06-19 19:00:05 +01:00
Nicholas Marriott
8f9dd5f274 Some more tests. 2026-06-19 18:47:14 +01:00
nicm
6c46358be8 Draw help directly instead of using a popup. 2026-06-19 17:37:26 +00:00
Nicholas Marriott
43f2ecb030 More tests. 2026-06-19 18:03:52 +01:00
Nicholas Marriott
a17dfabf89 rotate-window and swap-pane need to invalidate scene - since the layout stays
the same they cannot rely on the layout code to do it.
2026-06-19 18:02:40 +01:00
Nicholas Marriott
6d95fc5450 Add screen redraw regression tests. 2026-06-19 17:33:33 +01:00
Thomas Adam
b0ff8af9ac Merge branch 'obsd-master' 2026-06-19 17:30:05 +01:00
nicm
624db256c6 Add a loop_index variable and use it to show last used 5 sessions on the
session menu instead of next/previous.
2026-06-19 16:25:43 +00:00
Thomas Adam
cfb15d158e Merge branch 'obsd-master' 2026-06-19 17:15:05 +01:00
Thomas Adam
34c7881ddd Merge branch 'obsd-master' 2026-06-19 17:00:05 +01:00
nicm
f06d930445 Correctly report theme changes to panes, based on a fix from someone in
GitHub issue 5246.
2026-06-19 16:00:03 +00:00
nicm
b29f5688bd Make default M-C-Up/Down bound to prompt movement commands in copy mode. 2026-06-19 15:28:26 +00:00
Thomas Adam
333e2f266a Merge branch 'obsd-master' 2026-06-19 12:00:07 +01:00
Nicholas Marriott
af94399473 Add some more bits to test. 2026-06-19 11:50:29 +01:00
Nicholas Marriott
3d35f26031 Add a test for tty_draw_line. 2026-06-19 11:43:43 +01:00
nicm
b1c72ec48c Use a helper and skip some setup for empty cells. 2026-06-19 10:38:29 +00:00
Nicholas Marriott
e7544e0a3b Add a test for tty_draw_line. 2026-06-19 11:35:19 +01:00
Thomas Adam
8dee34459b Merge branch 'obsd-master' 2026-06-19 11:15:06 +01:00
nicm
e7f649e40a Tidy up a bit in tty_draw_line. 2026-06-19 09:56:53 +00:00
Nicholas Marriott
8754ea206e Pass pane_lines in to mark cell rather than doing it many times. 2026-06-19 10:22:49 +01:00
Nicholas Marriott
f1f4d8b523 Cache pane lines as well. 2026-06-19 10:18:58 +01:00
Nicholas Marriott
bb4b4d8808 And another rename. 2026-06-19 10:07:05 +01:00
Nicholas Marriott
bf2c54fba5 Minor tidying. 2026-06-19 10:06:17 +01:00
Nicholas Marriott
360ba86950 Make how borders are replaced easier to understand. 2026-06-19 09:59:30 +01:00
Nicholas Marriott
17e583d377 Merge offset and size clamp functions. 2026-06-19 09:48:15 +01:00
Thomas Adam
5843fbc6ee Merge branch 'obsd-master' 2026-06-19 09:30:06 +01:00
Nicholas Marriott
c8eca3a69d Add command-alias.sh test, from tanushnry at gmail dot com. 2026-06-19 09:29:41 +01:00
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