Commit Graph

12387 Commits

Author SHA1 Message Date
Nicholas Marriott
f0a2ed3001 Fix some errors from merge. 2026-10-14 00:44:29 +01:00
Nicholas Marriott
17ecceb153 Image resizing code. 2026-10-14 00:30:44 +01:00
Nicholas Marriott
e501ea12c7 Images and copy mode. 2026-10-14 00:23:36 +01:00
Nicholas Marriott
c53fd94ffd Fallback image drawing. 2026-10-14 00:08:37 +01:00
Nicholas Marriott
fbbecde236 SIXEL image placement. 2026-10-13 22:43:16 +01:00
Nicholas Marriott
6cebf96d9c SIXEL to image conversion. 2026-10-13 22:11:16 +01:00
Nicholas Marriott
2c64f131a9 Some more image redraw bits. 2026-10-13 21:05:08 +01:00
Nicholas Marriott
198b0e6933 Merge branch 'image_merge' 2026-10-13 21:02:23 +01:00
tmux update bot
458e04c5e5 Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Add format variables for the cmdline property to OSC 133, GitHub issue 5711.
2026-10-13 15:17:52 +00:00
nicm
baf8960837 Add format variables for the cmdline property to OSC 133, GitHub issue 5711. 2026-10-13 15:17:50 +00:00
tmux update bot
8eb32bb3a7 Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Complete layout names and options again, GitHub issue 5731 from intertermux at gmail dot com.
2026-10-13 10:51:24 +00:00
nicm
9026b1d197 Complete layout names and options again, GitHub issue 5731 from
intertermux at gmail dot com.
2026-10-13 10:51:22 +00:00
Nicholas Marriott
fca791a6f6 OSC 133 cmdline tests. 2026-10-13 11:22:15 +01:00
Nicholas Marriott
80fbab8ae8 Fix test on macOS. 2026-10-13 08:20:29 +01:00
Nicholas Marriott
657fe07a89 Accidentally added this test too before the fix. 2026-10-13 07:13:09 +01:00
tmux update bot
06bc15440b Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Add a flag to mark screen_write_ctx as coming from pane input and change a function argument.
  For tree mode, hold a reference to prompt and other bits across command to avoid crashing when killing the session with the mode's pane. GitHub issue 5728.
2026-10-13 01:00:12 +00:00
nicm
e2eb6b7d87 Add a flag to mark screen_write_ctx as coming from pane input and change
a function argument.
2026-10-13 01:00:11 +00:00
nicm
0985de0bc6 For tree mode, hold a reference to prompt and other bits across command
to avoid crashing when killing the session with the mode's pane. GitHub
issue 5728.
2026-10-13 01:00:11 +00:00
tmux update bot
ae2fb3797c Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Shorten some long lines.
  Use grid_free_line when freeing reflow lines.
2026-10-12 18:35:33 +00:00
nicm
7d01314422 Shorten some long lines. 2026-10-12 18:35:31 +00:00
nicm
d913cf5723 Use grid_free_line when freeing reflow lines. 2026-10-12 18:35:31 +00:00
Nicholas Marriott
9551cdcd67 Add test for killing own session crash. 2026-10-12 19:31:00 +01:00
Nicholas Marriott
e9fffcc7e9 Image grid infrastructure. 2026-10-12 19:20:42 +01:00
tmux update bot
9566f6f9ca Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Reset background colour before clearing to end of line.
2026-10-12 16:46:57 +00:00
nicm
d8aa888732 Reset background colour before clearing to end of line. 2026-10-12 16:46:55 +00:00
Nicholas Marriott
77f39c9df9 Remove check code for tracking down what turned out to be a Apple bug. 2026-10-12 17:39:48 +01:00
Nicholas Marriott
58eb73a6d1 Fix DA test with images on. 2026-10-12 16:37:21 +01:00
Nicholas Marriott
30791b7376 Tests for image bits. 2026-10-12 16:36:04 +01:00
tmux update bot
e5456565f3 Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Preserve pixel sizes with manual sizing.
  Add kittygraphics terminal feature.
  Add Kitty feature detection and sixel to WezTerm.
  Add image_support to replace sixel_support variable.
  Fail an integer format expression with a NaN or out-of-range value, from someone in GitHub issue 5725.
  Keep the row RM 1049 restores inside the saved grid, from someone in GitHub issue 5724.
  Ignore a resize from a client whose tty is closed, from someone in GitHub issue 5723.
  Do not use a dead pane when redrawing a menu, from someone in GitHub issue 5722.
2026-10-12 15:29:54 +00:00
nicm
89e2015fb2 Preserve pixel sizes with manual sizing. 2026-10-12 15:29:52 +00:00
nicm
b865fe844d Add kittygraphics terminal feature. 2026-10-12 15:29:52 +00:00
nicm
4d2e4e52e8 Add Kitty feature detection and sixel to WezTerm. 2026-10-12 15:29:52 +00:00
nicm
7fe3e928dd Add image_support to replace sixel_support variable. 2026-10-12 15:29:52 +00:00
nicm
4caff240c8 Fail an integer format expression with a NaN or out-of-range value, from
someone in GitHub issue 5725.
2026-10-12 15:29:52 +00:00
nicm
7a2ea39a3e Keep the row RM 1049 restores inside the saved grid, from someone in
GitHub issue 5724.
2026-10-12 15:29:52 +00:00
nicm
ddddd25d70 Ignore a resize from a client whose tty is closed, from someone in
GitHub issue 5723.
2026-10-12 15:29:52 +00:00
nicm
5bfa83d1fa Do not use a dead pane when redrawing a menu, from someone in GitHub
issue 5722.
2026-10-12 15:29:52 +00:00
Nicholas Marriott
fcb9ac2b2b Reject invalid and out of range numbers. 2026-10-12 13:49:23 +01:00
Nicholas Marriott
cafeed9d22 Merge pull request #5714 from Dhanu-dynamic/sixel-print-add-nul
Fix off-by-one buffer growth in sixel_print_add
2026-10-12 13:38:40 +01:00
Nicholas Marriott
40a1901bad Change --enable-sixel to --enable-images (the former stays as an alias). 2026-10-12 13:19:29 +01:00
tmux update bot
b973733720 Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Respect the ncv capability and do not combine attributes and colours that will not work, reported by Joan Bruguera Micó in GitHub issue 5727.
  Clear implied Meta when discarding BackTab modifiers, GitHub issue 5730 from Joan Fabrégat.
  Do not treat compact padding cells as width 1, make them width 0. GitHub issue 5718 from dustgle at gmail dot com.
  Do not reuse old session group names when a new session is the same as its original session, GitHub issue 5704.
2026-10-12 11:40:06 +00:00
nicm
801703a3ac Respect the ncv capability and do not combine attributes and colours
that will not work, reported by Joan Bruguera Micó in GitHub issue 5727.
2026-10-12 11:40:05 +00:00
nicm
8ba04e721c Clear implied Meta when discarding BackTab modifiers, GitHub issue 5730
from Joan Fabrégat.
2026-10-12 11:40:05 +00:00
nicm
ef52b9e1cb Do not treat compact padding cells as width 1, make them width 0. GitHub
issue 5718 from dustgle at gmail dot com.
2026-10-12 11:40:05 +00:00
nicm
12c93f50f0 Do not reuse old session group names when a new session is the same as
its original session, GitHub issue 5704.
2026-10-12 11:40:05 +00:00
Nicholas Marriott
8f7cf1fdef Add ncv test. 2026-10-12 12:38:04 +01:00
Nicholas Marriott
b868c9aa14 Tests for 5722-5725. 2026-10-12 11:54:19 +01:00
Nicholas Marriott
12f8dddc7c Tests for 5730 from Joan Fabrégat. 2026-10-12 10:37:25 +01:00
Nicholas Marriott
634e96f8cc Tests for 5718. 2026-10-12 09:09:35 +01:00
Nicholas Marriott
e94426e02b Test for session group name. 2026-10-12 08:55:36 +01:00