Commit Graph

11968 Commits

Author SHA1 Message Date
Michael Grant
cce975eb77 Move RB_GENERATE_STATIC to top of file. 2026-08-08 09:19:39 +01:00
Michael Grant
509ad56006 Do not enable sync for SIXEL 2026-08-08 09:14:07 +01:00
Michael Grant
d5ce3136c6 Comment sixel_from_image(). 2026-08-07 22:41:00 +01:00
Michael Grant
9fce2352c6 Add comments to image functions 2026-08-07 22:19:07 +01:00
Michael Grant
81af9c402a Add comments to image functions 2026-08-07 22:17:25 +01:00
Michael Grant
236d28674b Revert "Clear text beneath SIXEL image placements."
This reverts commit 3e3567b343.
2026-08-07 19:14:46 +01:00
Michael Grant
3e3567b343 Clear text beneath SIXEL image placements. 2026-08-07 16:39:52 +01:00
Michael Grant
88bd41265b Fix underlay bookkeeping bug. 2026-08-07 11:36:44 +01:00
Michael Grant
867c5d3c1f Dither alpha in SIXEL output 2026-08-07 11:23:17 +01:00
Michael Grant
3ee659c109 Revert "Clear text beneath graphical images"
This reverts commit fb589fd9f9.
2026-08-07 09:27:39 +01:00
Michael Grant
6eded1bc85 Use compact image references in grid cells 2026-08-06 22:34:59 +01:00
Michael Grant
ca4e4c03c5 Clear text beneath graphical images 2026-08-06 22:19:46 +01:00
Michael Grant
1c9fdd18d4 Simplify image support terminology 2026-08-06 16:17:21 +01:00
Michael Grant
02518f0e3c Use one image support switch 2026-08-06 14:27:07 +01:00
Michael Grant
d83ffb2f63 Make image types opaque 2026-08-06 12:42:25 +01:00
Michael Grant
9c7c777fd9 Keep SIXEL palettes across redraw spans 2026-08-06 11:30:23 +01:00
Michael Grant
718e281820 Fix SIXEL median-cut palette generation 2026-08-05 21:45:45 +01:00
Michael Grant
507ecd320a Revert "Removed unconditional Floyd–Steinberg dithering from image-sixel.c:1077. Kitty images now use the adaptive 256-colour median-cut palette with direct nearest-colour mapping."
This reverts commit 00ffe744b3.
2026-08-05 21:45:27 +01:00
Michael Grant
49be26557d Fix kitty image resize issue when the kitty image resized smaller than the image, the image was overflowing lines and banding. 2026-08-05 13:57:26 +01:00
Michael Grant
00ffe744b3 Removed unconditional Floyd–Steinberg dithering from image-sixel.c:1077. Kitty images now use the adaptive 256-colour median-cut palette with direct nearest-colour mapping. 2026-08-05 13:55:51 +01:00
Michael Grant
6820eceee5 Rename image damage functions to redraw 2026-08-03 13:14:04 +01:00
Michael Grant
c336f49585 Correct image copyrights 2026-08-03 12:56:12 +01:00
Michael Grant
aa2dd64873 Improve SIXEL colour quantization
Build an adaptive 256-colour palette with median cut instead of using a fixed colour cube. Apply Floyd-Steinberg error diffusion while mapping pixels to reduce banding and preserve image detail.
2026-08-03 12:21:54 +01:00
Michael Grant
832d2beb2d Preserve SIXEL pixel dimensions
Retain the padded canonical pixel canvas separately from the image content. Scale only the populated portion of partial edge cells so an image keeps its exact raster size on the originating terminal while retaining its cell footprint.
2026-08-03 12:14:49 +01:00
Michael Grant
08f0c0485b Correct SIXEL HLS colour conversion
Use the DEC hue origin and channel order, and round percentage and HLS conversions to the nearest byte value.
2026-08-03 12:08:28 +01:00
Michael Grant
c4bdd8eca1 Make sixel images grid resident
Replace screen-coordinate image placements with immutable pixel images referenced by ordinary grid cells. Draw visible marker runs through the redraw scene using per-client sixel or text backends so images follow history, copy mode, clipping and overwrites.
2026-08-03 11:56:25 +01:00
tmux update bot
31dccb6bc9 Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Fix unzoomed width when scrollbars are hidden.
2026-07-30 04:22:52 +00:00
nicm
8dfb7d0294 Fix unzoomed width when scrollbars are hidden. 2026-07-30 04:22:51 +00:00
Nicholas Marriott
265fb7b4ea Test for vi keys and padding. 2026-07-29 21:18:38 +01:00
tmux update bot
fa38b36f1f Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Correctly skip padding at end of line, GitHub issue 5411.
2026-07-29 20:04:07 +00:00
nicm
44b8a40b8c Correctly skip padding at end of line, GitHub issue 5411. 2026-07-29 20:04:06 +00:00
tmux update bot
5cd5df1d33 Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Add a flag to turn off scrollbars for display-panes; GitHub issue 5440 from David Marte.
2026-07-29 17:41:02 +00:00
nicm
415d265728 Add a flag to turn off scrollbars for display-panes; GitHub issue 5440
from David Marte.
2026-07-29 17:41:01 +00:00
Nicholas Marriott
d6c37ce314 Note SIXEL at end of configure as well. 2026-07-29 11:11:05 +01:00
tmux update bot
c6d02d54d1 Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Fix #1 -> #{1} in tmux1, from Rasmus Thystrup Karstensen.
2026-07-29 10:10:07 +00:00
nicm
6f41dac898 Fix #1 -> #{1} in tmux1, from Rasmus Thystrup Karstensen. 2026-07-29 10:10:06 +00:00
tmux update bot
5534f1ac32 Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Store status position in new mouse event for menus so the position is correct later.
2026-07-28 15:09:08 +00:00
nicm
9f2c535909 Store status position in new mouse event for menus so the position is
correct later.
2026-07-28 15:09:07 +00:00
Nicholas Marriott
7cc0c11cde Add test for mouse menu position. 2026-07-28 14:18:18 +01:00
tmux update bot
31fe1ded5d Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Show hook count and time in customize mode.
2026-07-28 12:15:38 +00:00
nicm
6a13d61b48 Show hook count and time in customize mode. 2026-07-28 12:15:37 +00:00
Nicholas Marriott
9c402fa7b7 Test hook time in customize mode. 2026-07-28 11:36:03 +01:00
tmux update bot
a115ca68a5 Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Add a warning about shell metacharacters, from Nikolas Skarlatos.
2026-07-28 10:09:27 +00:00
nicm
a5ad1914b8 Add a warning about shell metacharacters, from Nikolas Skarlatos. 2026-07-28 10:09:26 +00:00
Nicholas Marriott
3c1b2969a8 Tests for hooks time and count. 2026-07-28 08:08:26 +01:00
tmux update bot
e2a5ea2e78 Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Store count of how many times a hook is fired and the last time.
2026-07-28 04:30:35 +00:00
nicm
27ab96b284 Store count of how many times a hook is fired and the last time. 2026-07-28 04:30:34 +00:00
tmux update bot
00b5323d5c Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  When destroying pane, also close pipe and destroy its event. GitHub issue 5424.
2026-07-27 19:56:21 +00:00
nicm
f751d3f2c1 When destroying pane, also close pipe and destroy its event. GitHub
issue 5424.
2026-07-27 19:56:19 +00:00
Nicholas Marriott
9b97dadc01 Test for pipe-pane. 2026-07-27 15:26:43 +01:00