Thomas Adam
f53c4e7525
Merge branch 'obsd-master'
2026-05-27 22:15:06 +01:00
nicm
5c40cc43b2
Bring in the single-cell redraw parts for floating panes.
2026-05-27 20:57:53 +00:00
Thomas Adam
daf9988b3a
Merge branch 'obsd-master'
2026-05-27 20:15:06 +01:00
nicm
ee67452772
Add window-pane-status-format options and adjust the default second
...
status line to show panes, also change how window-style is checked now
it is a pane option.
2026-05-27 18:57:10 +00:00
Thomas Adam
d62bae442b
Merge branch 'obsd-master'
2026-05-27 16:46:04 +01:00
nicm
9cc8947a43
Cache border and active border style separately, fixes problem reported
...
by Marcel Partap in GitHub issue 5125.
2026-05-27 13:41:20 +00:00
nicm
bff68fa079
Remove reference to an option that hasn't been added yet.
2026-05-27 12:52:47 +00:00
Thomas Adam
cca1e77f95
Merge branch 'obsd-master'
2026-05-25 09:15:07 +01:00
nicm
cc81287665
More of floating panes redraw path, still mostly using flags which are never set.
2026-05-25 08:07:48 +00:00
Nicholas Marriott
eb330a6df6
Restore SIXEL bit.
2026-05-24 10:05:41 +01:00
nicm
f047b3f8e7
Do not crash when freeing layout cell, reported by Jere Viikari.
2026-05-24 08:40:43 +00:00
nicm
5c3a4746b7
Some code tidying up.
2026-05-23 07:22:50 +00:00
nicm
572e26deb8
Some more trivial floating panes bits.
2026-05-20 08:54:40 +00:00
nicm
ce24b92758
Floating panes full redraw code, by Michael Grant.
2026-05-19 13:12:45 +00:00
nicm
18fced7e7f
Make pane offsets signed, needed for floating panes.
2026-05-12 12:05:41 +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
nicm
ffe80579df
Redraw correctly when a popup is present above pane borders, GitHub
...
issue 4997 from Manuel Einfalt.
2026-04-23 11:29:23 +00:00
nicm
6b056eb53f
Add some new mouse ranges called "control0" to "control9", will be used
...
for controls on floating panes, from Dane Jensen, with some bits from
Michael Grant.
2026-04-03 10:13:20 +00:00
nicm
d22ab85b84
Protect against overflow when scrollbar is off screen, from san65384 at
...
gmail dot com in GitHub issue 4933.
2026-03-23 08:45:30 +00:00
nicm
f70150a663
Replace overlay_ranges with visible_ranges which can hold more than
...
three ranges (will be needed for floating panes); move the visible
ranges checks outside of tty_draw_line and rewrite it to fix issues with
partially-obscured wide characters. With Michael Grant.
2026-01-23 10:45:53 +00:00
nicm
5721767921
Correctly draw indicators when pane-border-indicators is set to both.
...
Reported by Ilya Grigoriev in GitHub issue 4780.
2026-01-12 07:50:16 +00:00
nicm
1c7e164c22
Add support for applications to use synchronized output mode (DECSET
...
2026) to prevent screen tearing during rapid updates. When an
application sends SM ?2026, tmux buffers output until RM ?2026 is received
or a 1-second timeout expires.
From Chris Lloyd with the assistance of Claude Code, GitHub issue 4744.
2025-12-17 11:49:29 +00:00
nicm
afa05ae15e
Use correct style for bottom line when pane status line is on, GitHub
...
issue 4732.
2025-12-08 21:32:50 +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
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
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
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
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
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
nicm
713cacab1e
Mouse support on the scrollbars, from Michael Grant.
2024-11-12 09:32:56 +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
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
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
nicm
cdacc12ce3
Add support for OSC 8 hyperlinks (a VTE extension now supported by other
...
terminals such as iTerm2). Originally written by me then extended and
completed by first Will Noble and later Jeff Chiang. GitHub issues 911,
2621, 2890, 3240.
2022-06-30 09:55:53 +00:00
nicm
e6e737ac0b
Add an option to set the character used for unused areas of the
...
terminal, GitHub issue 3110.
2022-03-16 17:00:17 +00:00
nicm
07e2d88c20
Use ACS for pane border indicators so they work with different line
...
types, from Thomas Adam.
2022-02-04 11:57:22 +00:00
nicm
7e34645fcb
Add option to show arrows for active pane indicator, GitHub issue 3022
...
from Marcel Partap.
2022-02-01 14:46:41 +00:00
nicm
c6149adf55
Make pane-border-format a pane option, GitHub issue 2999.
2021-12-13 09:42:20 +00:00
nicm
5745bd27fd
Do not allow inline styles to replace mode-style for the selected item,
...
from Alexis Hildebrandt in GitHub issue 2946.
2021-10-26 12:22:23 +00:00
nicm
add20637f2
Add popup-border-lines option to set popup line style, from Alexis
...
Hildebrandt, GitHub issue 2930.
2021-10-14 13:19:01 +00:00
nicm
b8581ec80e
Make positions hidden by overlays range-based rather than character-based,
...
from Anindya Mukherjee.
2021-10-11 13:27:50 +00:00
nicm
7789639b5d
Add a menu when a popup is present (mouse only for now).
2021-08-13 18:54:54 +00:00
nicm
7eea3d7ab8
Break the colour palette into a struct rather than just a single array
...
and use that to support the OSC palette-setting sequences in popups.
Also add a pane-colours array option to specify the defaults. GitHub
issue 2815.
2021-08-11 20:49:55 +00:00
nicm
9013600074
Return to applying pane-border-style to the area outside panes, GitHub
...
issue 2816.
2021-08-11 09:05:21 +00:00
nicm
93cc8df692
Do not freeze output in panes when a popup is open, let them continue to
...
redraw. From Anindya Mukherjee .
2021-08-05 09:43:51 +00:00
nicm
ff860e5fe4
Move mode set/reset after sync so cursor doesn't flicker, from Avi
...
Halachmi.
2021-04-13 05:25:05 +00:00
nicm
3dddc11603
Send Unicode directional isolate characters around horizontal pane
...
borders if the terminal support UTF-8 and an extension terminfo(5)
capability "Bidi" is present. On terminals with BiDi support (ie, VTE)
this seems to be enough to display right-to-left text acceptably enough
to be usable (with some caveats about the mouse position). Requested by
and with help from Mahmoud Elagdar in GitHub issue 2425.
2021-02-05 12:29:18 +00:00
nicm
f6095cad99
Do not include the status line size when working out the character for
...
the pane status line. GitHub issue 2493.
2020-12-07 09:46:58 +00:00
nicm
1f5e520def
Correct checks for window borders.
2020-07-22 06:21:46 +00:00