Michael Grant
2591df66cc
Bugfix status line at top and floating panes.
2025-12-09 00:14:06 +00:00
Michael Grant
2ac78bccb5
Bugfix status line at top.
2025-12-08 15:01:54 +00:00
Michael Grant
47de44001e
Merge changes from master.
2025-12-08 14:30:57 +00:00
Michael Grant
eaa467618b
1. Rework floating panes to have a stub layout_cell, 2. Add new <..> format to list-windows & select-layout for floating anes, 3. Fix zooming to work with floating panes, 4. Fix several display issues.
2025-12-08 14:28:17 +00:00
Michael Grant
ac01f15bfe
Merge branch 'master' into feature-floating-window-panes
2025-12-06 21:14:38 +00:00
Thomas Adam
0929d8ddfa
Merge branch 'obsd-master'
2025-12-04 16:01:08 +00:00
nicm
9d6c69ebde
Fix y offset of mouse if status at top. GitHub issue 4738 from Michael
...
Grant.
2025-12-04 14:45:32 +00:00
Michael Grant
7194fdca38
Fix many display problems with floating windows up against the window edge and borders of other windows and many off-by-one errors.
2025-11-10 23:07:06 +01:00
Michael Grant
466e79d572
Bugfix for size of pane_border status not properly clipping.
2025-11-07 22:53:42 +01:00
Michael Grant
9c45dd693b
Comment cleanup.
2025-11-07 01:24:39 +01:00
Michael Grant
61ca158de1
Fix pane borders, including fixing 2 side-by-side or top-bottom panes with split coulering.
2025-11-06 12:16:45 +01:00
Michael Grant
7e0038c691
Bugfix split pane border colours.
2025-11-04 15:48:23 +01:00
Michael Grant
6c5cc40039
Bugfix, more changes to allow xoff and yoff to be int.
2025-11-03 21:56:15 +01:00
Michael Grant
9a061a2fee
Bugfix floating panes display when off window edge.
2025-11-02 09:56:57 +01:00
Michael Grant
6dd552d689
Fix floating pane redraw bugs. Allow floating panes to be partly out of the window. This required changing xoff and yoff from u_int to int and it required a fair bit of casting for example when xoff is added to sx or comparing px to xoff. It makes sense for px and sx to be u_int since they refers to things which should never be negative.
2025-11-01 21:47:54 +01:00
Michael Grant
39d2839e37
Bugfix visible_ranges calculation, no longer need to inject vr into tty_draw_line.
2025-10-28 12:50:13 +00:00
Michael Grant
25ce5b4281
Add separate z-index list. Each window has its own z-order list of panes now.
2025-10-28 08:07:32 +00:00
Michael Grant
0cd3ab6299
Fix active border colour if only floating panes in the window.
2025-10-27 23:35:53 +00:00
Michael Grant
28d038fb16
Bugfix calculation error on bottom border when pane border status on and scrollbar enabled.
2025-10-27 22:18:07 +00:00
Michael Grant
10dc308e6b
Add checking the redraw of floating panes and the pane border status.
2025-10-27 21:28:31 +00:00
Michael Grant
984fbacccf
Change the visible_ranges array to work more like the overlay_ranges array, except be able to grow.
2025-10-26 14:18:27 +00:00
Michael Grant
cc1324e2d9
Cleanup and simplification. Array of visual ranges now just simple array.
2025-10-24 09:53:12 +01:00
Michael Grant
b2226d1608
Add scrollbar width to right border calculation.
2025-10-24 00:06:18 +01:00
Michael Grant
8ce0af3fc9
Fix a fencepost error (not sure why wp->sy+1 isn't the border).
2025-10-23 23:59:49 +01:00
Michael Grant
8db76e9057
Bugfix fix redraw of overlapping floating panes.
2025-10-23 18:05:04 +01:00
Michael Grant
26362dfc72
Bugfix display of 2 side-by-side panes with overlapping floating pane.
2025-10-22 22:07:42 +01:00
Michael Grant
72dbbfedce
Manage visible ranges when drawing scrollbars.
2025-10-21 09:13:33 +01:00
Michael Grant
379e4d976c
Fix scrolling, redraw, and borders of floating panes.
2025-10-19 14:11:08 +01:00
Michael Grant
ce03f1abea
Cleanup - screen_redraw_get_visible_ranges returns a value rather than pass addr of arg. Bugfix to redraw code.
2025-10-11 18:07:22 +01:00
Michael Grant
5faf41b695
Add support in screen-write.c to properly display cmd output when there are floating panes on the screen.
2025-10-10 23:59:47 +01:00
Michael Grant
7634daa834
Add function screen_redraw_get_visual_ranges to figure out what parts of floating panes obscure a target pane being redrawn.
2025-10-06 22:19:25 +01:00
Thomas Adam
f4c0fe2ede
Merge branch 'obsd-master'
2025-08-22 08:37:26 +01:00
nicm
84775130a0
Add pane-border-lines value to use spaces for pane borders, from lukas
...
dot 23022005 at gmail dot com in GitHub issue 4587.
2025-08-14 06:44:50 +00:00
Thomas Adam
b9ad9186fe
Merge branch 'obsd-master'
2025-05-22 10:01:08 +01:00
nicm
a0ac2a5d63
When there are more than two horizontal windows and the active window is
...
in not on an edge, correctly highlight both its left and right borders.
GitHub issue 4513 from Michael Grant.
2025-05-22 07:46:38 +00:00
Thomas Adam
94783addfc
Merge branch 'obsd-master'
2025-02-26 10:01:14 +00:00
nicm
9a8f46e554
Fix colouring of pane border when scrollbars are enabled, GitHub issue
...
4378 from Michael Grant.
2025-02-26 07:42:52 +00:00
Thomas Adam
be594ff8a4
Merge branch 'obsd-master'
2024-11-15 16:01:11 +00:00
nicm
350a151ee4
Add two new style parameters, width and pad, which apply to scrollbars.
...
From Michael Grant, GitHub issue 4241.
2024-11-15 13:12:20 +00:00
Thomas Adam
d35458e3fe
Merge branch 'obsd-master'
2024-11-15 10:01:11 +00:00
nicm
d6883c0266
Turn off scrollbar when pane is in alternate screen, from Michael Grant,
...
GitHub issue 4231.
2024-11-15 09:01:16 +00:00
Thomas Adam
563ed05353
Merge branch 'obsd-master'
2024-11-12 12:01:10 +00:00
nicm
713cacab1e
Mouse support on the scrollbars, from Michael Grant.
2024-11-12 09:32:56 +00:00
Thomas Adam
1fe30bb2e8
Merge branch 'obsd-master'
2024-11-06 20:33:45 +00:00
nicm
09f4e43189
Add support for a scrollbar at the side of each pane. New options
...
pane-scrollbars turn them on or off, pane-scrollbars-position sets the
position (left or right), and pane-scrollbars-style to set the colours.
Mouse support will come later. From Michael Grant in GitHub issue 4221.
2024-11-05 09:41:17 +00:00
Thomas Adam
d326c51d79
Merge branch 'obsd-master'
2024-10-08 12:01:09 +01:00
nicm
940fdf7ed0
Draw pane status line on the correct line when at the bottom, fixes
...
issues if the window size is smaller than the entire terminal. GitHub
issue 3943.
2024-10-08 09:40:50 +00:00
Thomas Adam
3d8ead8a97
Merge branch 'obsd-master'
2024-08-28 10:27:21 +01:00
nicm
9e2a7c28f5
Pass the screen_redraw_ctx struct into more functions instead of
...
individual arguments (for example for the pane status), from Michael
Grant.
2024-08-26 07:34:40 +00:00
nicm
73b2277af8
Client flags was changed to uint64_t a while ago, fix a few cases where
...
it is still int (do not matter now but will with some new flags). From
Michael Grant.
2024-08-26 07:30:46 +00:00