Thomas Adam
b101ffaed6
Merge branch 'obsd-master'
2026-03-23 12:01:10 +00:00
nicm
d70edfa0a0
Fix issue where popup window gets overwritten by background updates,
...
from Conor Taylor in GitHub issue 4920.
2026-03-23 08:48:32 +00:00
Thomas Adam
c9fb989a31
Merge branch 'obsd-master'
2026-02-23 08:11:38 +00:00
nicm
03f8690f9c
Pass which clipboard is set through to the terminal, from Axel Lindskog
...
in GitHub issue 4858.
2026-02-18 09:10:31 +00:00
Thomas Adam
d3522c328c
Merge branch 'obsd-master'
2026-02-12 11:10:01 +00:00
nicm
aa03706ed0
Remove redundant call to tty_attributes, from Conor Taylor in GitHub
...
issue 4848.
2026-02-10 08:34:43 +00:00
nicm
b7939eb266
Don't call event_add again if the event is already pending, from Conor
...
Taylor in GitHub issue 4848.
2026-02-10 08:30:21 +00:00
Thomas Adam
d7f59eccaf
Merge branch 'obsd-master'
2026-01-28 17:25:42 +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
Thomas Adam
7cffa2de78
Merge branch 'obsd-master'
2026-01-07 20:01:09 +00:00
nicm
e2afaaea75
Correct redrawing of wide characters when overwritten. Reported by Jake
...
Stewart in GitHub issue 4737.
2026-01-07 18:29:15 +00:00
Thomas Adam
02a8e3fd34
Merge branch 'obsd-master'
2025-12-02 10:01:08 +00:00
nicm
322adfbdde
Add a get-clipboard option which when enabled (the default is off) uses
...
the same mechanism as palette requests to request clipboard from the
terminal and forward to the requesting pane. Remove the now-redundant
forward-to-pane ability from "refresh-client -l". GitHub issue 4275.
2025-12-02 08:20:32 +00:00
Thomas Adam
3542bfa5b8
Merge branch 'obsd-master'
2025-11-26 22:01:08 +00:00
nicm
e3a54ed0f4
Newer libevents do not allow event_del on a zero'd event.
2025-11-26 19:02:03 +00:00
Thomas Adam
be2d4aa434
Merge branch 'obsd-master'
2025-10-30 10:01:07 +00:00
nicm
1e61e52400
If tmux receives a palette request (OSC 4) in a pane and the palette
...
entry has not been set, send a request to the most recently used client
and forward any response instead. Based on change from Tim Culverhouse
in GitHub issue 4665.
2025-10-30 07:41:19 +00:00
Thomas Adam
449f255f3e
Merge branch 'obsd-master'
2025-10-13 10:01:08 +01:00
nicm
feb3b90596
Check allow-set-title for APC as well.
2025-10-13 07:19:08 +00:00
Thomas Adam
3e28777ecb
Merge branch 'obsd-master'
2025-09-12 12:01:09 +01:00
nicm
7516f8e94f
Check the right flags member, reported by someone in GitHub issue 4634.
2025-09-12 08:46:29 +00:00
Thomas Adam
9dc136f445
Merge branch 'obsd-master'
2025-09-08 12:01:10 +01:00
jsg
408721ae37
correct indentation, no functional change
...
found with smatch, ok nicm@
2025-09-08 08:23:19 +00:00
Thomas Adam
9702ef3f91
Merge branch 'obsd-master'
2025-09-02 02:01:07 +01:00
nicm
b5413dacc7
Delete timer before adding it again.
2025-09-01 22:11:23 +00:00
Thomas Adam
a0065bea04
Merge branch 'obsd-master'
2025-09-01 12:01:08 +01:00
nicm
cfb906a0ce
Increase the escape delay when waiting for an RGB response no matter
...
when it is triggered (they can also be sent on resize). GitHub issue
4569.
2025-09-01 07:58:09 +00:00
Thomas Adam
faf2a44890
Merge branch 'obsd-master'
2025-05-12 14:01:10 +01:00
nicm
7499d925da
Do not downgrade styled underscores to standard underscore if the
...
terminal does not support them, this matches what would happen if the
application tried to use them on a terminal without support.
2025-05-12 09:50:00 +00:00
Thomas Adam
3d2b26dcfe
Merge branch 'obsd-master'
2025-05-01 10:01:11 +01:00
nicm
1926c1b683
Don't map 256 to white-on-white either, and tidy code a bit.
2025-05-01 06:59:32 +00:00
Thomas Adam
882fb4d295
Merge branch 'obsd-master'
2025-03-04 10:01:15 +00:00
nicm
eaf70c955b
Add mode 2031 support to automatically report dark or light theme. tmux
...
will guess the theme from the background colour on terminals which do
not themselves support the escape sequence. Written by Jonathan
Slenders, GitHub issue 4353.
2025-03-04 08:45:04 +00:00
Thomas Adam
d3cbe00f78
Merge branch 'obsd-master'
2025-01-12 16:01:11 +00:00
nicm
37ad1e2f6d
Map bright black (colour 8) to white (7) if the background is black on
...
terminals with only eight colours so the text is not invisible. From
Dmytro Bagrii in GitHub issue 4322.
2025-01-12 14:20:49 +00:00
Thomas Adam
895044c52b
Merge branch 'obsd-master'
2024-10-25 22:01:10 +01:00
nicm
40c01c2d37
Allow tabs even on terminals without UTF-8, reported by jmc.
2024-10-25 19:36:38 +00:00
Thomas Adam
25b1cc1e8e
Merge branch 'obsd-master'
2024-09-30 12:01:11 +01:00
nicm
89adec0ca5
On some Windows terminals, if TIOCWINSZ does not return xpixel and
...
ypixel (they are zero), if this is the case then try the query escape
sequences. From Dmitry Galchinsky in GitHub issue 4099.
2024-09-30 08:10:20 +00:00
Thomas Adam
651891c3bd
Merge branch 'obsd-master'
2024-08-04 12:01:09 +01:00
nicm
4008e2ff6d
Make a little effort to treate CRLF as LF in config files. GitHub issue
...
3720.
2024-08-04 09:42:23 +00:00
nicm
b88130d24b
The Linux console has some bugs with bright colours. It seems likely
...
that it is emulating them by setting a bright (or bold) flag; however,
when the colour is changed from a bright colour (say SGR 96) to a
non-bright (say SGR 36), the flag is not reset, so the new colour
remains as bright. SGR 39 (default colour) also does not reset, so you
end up with the bright default colour. Work around this by sending SGR 0
when switching away from a bright colour, and disable AX for TERM=linux.
Also make the check for AX simpler and do not check for the op
capability is not actually used. GitHub issue 3976.
2024-08-04 09:35:30 +00:00
Thomas Adam
452d987e0e
Merge branch 'obsd-master'
2024-05-14 14:01:10 +01:00
nicm
a18d1146aa
Add missing time.h to tty.c (from Ismail Donmez), also remove some stray
...
spaces.
2024-05-14 10:11:09 +00:00
Thomas Adam
b202a2f1b5
Merge branch 'obsd-master'
2023-09-17 21:03:06 +01:00
nicm
f09cde2542
Change UTF-8 combining to inspect the previous character at the cursor
...
position rather than keeping the last character from the input stream,
this is how most terminals work and fixes problems with displaying these
characters in vim. GitHub issue 3600.
2023-09-15 15:49:05 +00:00
Thomas Adam
1742138f05
Merge branch 'obsd-master'
2023-09-02 22:01:09 +01:00
nicm
c767d62329
Request terminal colours again on SIGWINCH but at most once every 30
...
seconds, GitHub issue 3582.
2023-09-02 20:03:10 +00:00
Thomas Adam
7ad29b9831
Merge branch 'obsd-master'
2023-09-02 12:01:09 +01:00
nicm
d209fe9b1e
Setulc only does RGB colour so add Setulc1 to do non-RGB colours, GitHub
...
issue 3627.
2023-09-02 09:17:23 +00:00