Commit Graph

11965 Commits

Author SHA1 Message Date
Michael Grant
5b631b4f2d Comment sixel_from_image(). 2026-08-07 22:42:22 +01:00
Michael Grant
d8d5093790 Add comments to image functions 2026-08-07 22:23:11 +01:00
Michael Grant
59ab8a5160 Add comments to image functions 2026-08-07 22:19:15 +01:00
Michael Grant
bbbac41c70 Fix underlay bookkeeping bug. 2026-08-07 11:37:49 +01:00
Michael Grant
0007c52d57 Dither alpha in SIXEL output 2026-08-07 11:23:17 +01:00
Michael Grant
3df288d4dc Revert "Clear text beneath graphical images"
This reverts commit fb589fd9f9.
2026-08-07 09:27:39 +01:00
Michael Grant
35b856652d Use compact image references in grid cells 2026-08-06 22:34:49 +01:00
Michael Grant
09250ea86f Clear text beneath graphical images 2026-08-06 22:19:53 +01:00
Michael Grant
2dd4618bbb Simplify image support terminology 2026-08-06 16:17:42 +01:00
Michael Grant
f76e9d29ce Use one image support switch 2026-08-06 14:28:12 +01:00
Michael Grant
7c6f5d838f Make image types opaque 2026-08-06 12:38:11 +01:00
Michael Grant
d9ff36408c Keep SIXEL palettes across redraw spans 2026-08-06 11:31:51 +01:00
Michael Grant
9cc09b2a9f Improve image fallback rendering 2026-08-06 10:21:16 +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
tmux update bot
8ca512b502 Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Add after-swap-window hook from basicalllymiloud at gmail dot com.
2026-07-27 14:00:20 +00:00
nicm
5269e14113 Add after-swap-window hook from basicalllymiloud at gmail dot com. 2026-07-27 14:00:18 +00:00
tmux update bot
ff214cf9a1 Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Include \n and \t in shell special characters, from Nikolas Skarlatos.
2026-07-26 19:57:58 +00:00