]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0819: MS-Windows: sixel image shown as raw text in the console v9.2.0819
authorHirohito Higashi <h.east.727@gmail.com>
Mon, 20 Jul 2026 17:44:27 +0000 (17:44 +0000)
committerChristian Brabandt <cb@256bit.org>
Mon, 20 Jul 2026 17:44:27 +0000 (17:44 +0000)
commit5af893b2cd43c5ccf8eea60bfca4198b28536e1b
tree65b7190a705e9093dc2080d85d5c248aa489345b
parent3cfdb634b1db2ed51d1147b720e0d9d67b7f5252
patch 9.2.0819: MS-Windows: sixel image shown as raw text in the console

Problem:  On the MS-Windows console a popup image is displayed as the raw
          sixel escape sequence instead of the image, unless
          'termguicolors' is set (Bakudankun).
Solution: Write a DCS sequence with the console API that lets the console
          parse it, no matter which write path the current colors select.
          Keep track of the terminator across writes, since a long
          sequence is split up (Hirohito Higashi).

fixes:  #20795
closes: #20797

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/os_win32.c
src/testdir/test_popupwin.vim
src/version.c