Thomas Adam
9c3ec2b8eb
Refactor kitty images to use unified image cache API
...
The original kitty implementation used a passthrough approach where images
were forwarded directly to the outer terminal without being stored in tmux's
image cache.
This refactors kitty images to work like sixel images.
2026-03-05 17:21:40 +00:00
Thomas Adam
aefdb34846
rename: ENABLE_SIXEL to ENABLE_SIXEL_IMAGES
2026-03-05 17:21:18 +00:00
Thomas Adam
5a233e26ec
rename ENABLE_KITTY to ENABLE_KITTY_IMAGES
2026-03-05 17:21:18 +00:00
Thomas Adam
cf6cbe430c
Add support for the kitty graphics protocol
...
Kitty-capable terminals (kitty, ghostty, and others) can display
inline images via APC escape sequences.
Kitty's image support uses a passthrough model: APC sequences from
programs running inside panes are relayed verbatim to the outer
terminal with cursor positioning adjusted for the pane offset.
The outer terminal handles all image rendering and therefore itself must
be kitty-aware.
2026-03-05 17:21:18 +00:00
Thomas Adam
d9d2b2f1ee
Merge branch 'obsd-master'
2026-03-05 12:01:09 +00:00
nicm
1e208abd93
Add pane_pipe_pid with pipe fd and call setpgid to make it easier to kill.
2026-03-05 09:22:08 +00:00
Thomas Adam
0800e51d41
Merge branch 'obsd-master'
2026-02-26 10:18:15 +00:00
nicm
5b3c642195
Pass paste buffer through vis(3) when pasting to prevent buffers
...
containing for example the bracket end sequence causing issues. -S flag
disables. Reported by Mason Davis.
2026-02-25 07:53:41 +00:00
nicm
09bd686327
Add sorting (-O flag) and a custom format (-F) to list-keys, from Dane
...
Jensen in GitHub issue 4845.
2026-02-24 08:20:52 +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
7e50eb0e83
Make paste_get_top return a copy of the buffer name which is more
...
sensible and avoids a double free pointed out by DongHan Kim.
2026-02-11 08:30:37 +00:00
nicm
25f6d8b1e9
Implement some obvious missing sort orders, from Dane Jensen in GitHub
...
issue 4813.
2026-02-10 09:55:53 +00:00
nicm
62944da74b
Make OSC 52 work in popups, from gogongxt at 163 dot com in GitHub issue
...
4797.
2026-02-03 09:07:44 +00:00
nicm
588013bb44
Refresh copy mode when style changes, from Josh Cooper in GitHub issue 4830.
2026-02-03 08:53:58 +00:00
Thomas Adam
615c27c117
Merge branch 'obsd-master'
2026-02-02 19:06:25 +00:00
nicm
3c3d9ce3a9
Break sorting out into a common file so formats and modes use the same
...
code. Also add -O for sorting to the list commands. From Dane Jensen in
GitHub issue 4813.
2026-02-02 10:08:30 +00:00
Thomas Adam
d7f59eccaf
Merge branch 'obsd-master'
2026-01-28 17:25:42 +00:00
Thomas Adam
e652213855
Merge branch 'obsd-master'
2026-01-23 10:50:55 +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
195a9cfd88
When history-limit is changed, apply to existing panes, not just new
...
ones. GitHub issue 4705.
2026-01-22 08:55:01 +00:00
nicm
ab1f2ef71c
Add a function to convert a screen to a string, from Michael Grant.
2026-01-20 16:32:05 +00:00
Thomas Adam
95b4bb51c6
Merge branch 'obsd-master'
2026-01-14 22:01:08 +00:00
nicm
1e5f93b7b6
Add -e flag to command-prompt to close if empty, from Dane Jensen in
...
GitHub issue 4812.
2026-01-14 19:43:43 +00:00
Thomas Adam
97d61131df
Merge branch 'obsd-master'
2026-01-12 10:01:08 +00:00
nicm
a443531280
Remember last pane or type of location for double and triple clicks and
...
correctly handle it changes between first and second or second and
third. GitHub issue 4795 from Shaobo Song.
2026-01-12 07:48:36 +00:00
Thomas Adam
75d3974c12
Merge branch 'obsd-master'
2026-01-07 10:01:08 +00:00
nicm
583f12ea71
Work out the default command from the queue in case it has been set from
...
the config file, GitHub issue 4791.
2026-01-07 08:16:20 +00:00
Thomas Adam
3de7a8ad8d
Merge branch 'obsd-master'
2026-01-06 22:01:07 +00:00
nicm
f226804149
Do not send theme unless it has changed, and do not send immediately
...
when updates are enabled. GitHub issue 5787.
2026-01-06 20:05:57 +00:00
Thomas Adam
9b7732eac4
Merge branch 'obsd-master'
2026-01-06 12:01:07 +00:00
nicm
5f9dac8abc
Do not use ;;s in list-keys output as it is confusing and cannot be
...
parsed on input, from Patrick Motard in GitHub issue 4750.
2026-01-06 10:17:29 +00:00
Thomas Adam
86c15d7ae9
Merge branch 'obsd-master'
2025-12-17 14:01:08 +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
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
194d0a0e25
Merge branch 'obsd-master'
2025-12-01 10:01:08 +00:00
nicm
e4c552f5a5
Change noattr to be an explicit attribute in the style so that it works
...
correctly and does not delete attributes set in the style itself, GitHub
issue 4713.
2025-12-01 08:14:29 +00:00
Thomas Adam
3542bfa5b8
Merge branch 'obsd-master'
2025-11-26 22:01:08 +00:00
nicm
a0dfef3b04
Place cursor on correct line if message-line is not 0, reported by
...
Alexis Hildebrandt.
2025-11-26 18:57:18 +00:00
Thomas Adam
348f16093c
Merge branch 'obsd-master'
2025-11-18 10:01:07 +00:00
nicm
2a3ec87887
Make -v to source-file pass through to subsequent source-file commands,
...
GitHub issue 4216.
2025-11-18 08:42:09 +00:00
Thomas Adam
db274f9c39
Merge branch 'obsd-master'
2025-11-12 21:26:29 +00:00
nicm
66279c124e
Make requests to the external terminal one queue instead of one by type,
...
and include any other requests as well so that ordering is maintained.
2025-11-12 20:41:06 +00:00
Thomas Adam
b335419505
Merge branch 'obsd-master'
2025-11-12 16:01:09 +00:00
nicm
3c9e10139f
If display-popup is used inside a popup, modify that popup. From
...
m-einfalt at gmx dot de in GitHub issue 4678.
2025-11-12 13:47:51 +00:00
Nicholas Marriott
c77d49f67e
Save and restore images in alternate screen, GitHub issue 3732.
2025-11-12 07:49:17 +00:00
Thomas Adam
815f7ecffb
Merge branch 'obsd-master'
2025-11-03 12:01:06 +00:00
Thomas Adam
44c0443983
Merge branch 'obsd-master'
2025-11-03 09:57:35 +00:00