Michael Grant
9a3b71ac64
Move image cell drawing into image.c
2026-08-08 10:27:31 +01:00
Michael Grant
4c9523c814
Expose image backend flags
2026-08-08 10:22:05 +01:00
Michael Grant
3cd6526d46
Fix underlay bookkeeping bug.
2026-08-07 11:34:16 +01:00
Michael Grant
e3f6c1849d
Revert "Clear text beneath graphical images"
...
This reverts commit fb589fd9f9 .
2026-08-07 09:27:20 +01:00
Michael Grant
fb589fd9f9
Clear text beneath graphical images
2026-08-06 22:17:19 +01:00
Michael Grant
cdff709ab3
Inline basic image fallback renderer
2026-08-06 10:25:29 +01:00
Michael Grant
fe938ea657
Refactor to centralize image-specific rendering and lifecycle code in image.c and the image-* backends.
2026-08-03 09:13:45 +01:00
Michael Grant
4da7f897ea
Fix image flickering.
2026-07-30 22:47:31 +01:00
Michael Grant
9a2060db06
Merge branch '4902-image-support' of github.com:tmux/tmux into 4902-image-support
2026-07-30 22:16:16 +01:00
Michael Grant
f4a57f8b95
Initial commit. Implement generalised image support.
2026-07-30 22:15:53 +01:00
nicm
afb95f3134
Do not loop forever if the combining character is too long, GitHub issue
...
5434 from me at qdrs dot dev.
2026-07-26 10:55:45 +00:00
nicm
d29aa12117
Replace the notification system with events. Events can carry a payload of
...
additional payload (to reduce problems with lifetime of objects) and are
delivered to one or more event sinks. This is more powerful and reduces the
complex dependencies between control mode and hooks. Events are now used for
hooks, control mode notifications and for monitors (set-hook -B).
wait-for can now wait for an event to fire (-E flag, with -F to for filter),
with -v to print the payload, as well as listing (-l) waiting clients on an
event and forcing one to wake (-w).
A few additional hooks are also now available (pane-created, pane-resized, etc)
and some of the existing ones have additional format variables available.
2026-07-10 13:38:45 +00:00
nicm
b1c72ec48c
Use a helper and skip some setup for empty cells.
2026-06-19 10:38:29 +00:00
nicm
e7f649e40a
Tidy up a bit in tty_draw_line.
2026-06-19 09:56:53 +00:00
jsg
b3deb9ec86
fix tty_draw_line() indentation; ok nicm@
2026-06-12 13:16:36 +00:00
nicm
d533d7c97c
Add a context for cell/palette/hyperlinks when drawing to tty to avoid
...
passing so much in parameters.
2026-06-09 21:22:22 +00:00
nicm
54ae850322
Do not adjust end position when removing partial padding, it does not
...
change.
2026-05-27 20:47:23 +00: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
nicm
281e8ff766
Fix a couple of bugs in tty_draw_line: do not loop forever if orphan
...
padding appears, or if a wide character is trimmed at the right of the
region. Much help with testing from qingliu at alauda dot io in GitHub
issue 5024.
2026-05-13 13:12:23 +00:00
nicm
a827725a8d
Set up default and last cell before clearing padding, reported by
...
someone on GitHub.
2026-04-04 11:39:49 +00:00
nicm
cd60de443e
Clamp width to terminal width, also change calculation of end of screen
...
(it is OK to be outside the screen). Fixes problem reported by Dane
Jensen in GitHub issue 4969.
2026-04-04 11:20:01 +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
nicm
23ad10c849
Set cell to default when off screen to avoid crash when logging it.
2026-02-23 08:29:30 +00:00
nicm
d8794e2b30
Check log level before log_debug in tty_draw_line, from Conor Taylor in
...
GitHub issue 4848.
2026-02-10 08:31:45 +00:00
nicm
66011fe48b
Do not treat cells as empty unless the background colour stays the same.
...
Fixes invisible clock in clock mode, reported by tb@.
2026-01-29 09:08:19 +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