VSCodium でもSixel

Microsoft VS Code も設定を有効にすることでSixel が使えるということで,Codium で試してみました.

こちらを見るとV1.79 以降で terminal.integrated.experimentalImageSupport を true にすることで動くようです.

Visual Studio Code
Status: Supported
Must be enabled with “terminal.integrated.experimentalImageSupport”: true.

Uses xterm.js with xterm-addon-image, related PR: https://github.com/microsoft/vscode/pull/182442 🏛️

— https://www.arewesixelyet.com/#visual-studio-code

チェックを付けて true にします.

terminal.integrated.enableImages

Integrated: Enable Images
ターミナルでイメージのサポートを有効にします。これは、 Terminal › Integrated: Gpu Acceleration が有効になっている場合にのみ機能します。Linux と macOS では、sixel と iTerm の両方のインライン イメージ プロトコルがサポートされています。ConPTY がシーケンスを通過すると、Windows のサポートが自動的に点灯します。現在、ウィンドウの再読み込み/再接続の間にイメージは復元されません。

Note

`これは、 Terminal › Integrated: Gpu Acceleration が有効になっている場合にのみ機能します。 ということで確認すると `auto になっていました.

terminal.integrated.gpuAcceleration

Integrated: Gpu Acceleration
ターミナルで GPU を利用してレンダリングを行うかどうかを制御します。

ちなみに,手元の環境はiGPUのHD Graphics 620 です.

$ lspci|grep VGA
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)

動きました :)

codium sixel

今環境がないので未確認ですが,VSCode でも同じ手順でSixel を試せそうです.

環境
$ codium --version
1.84.2
5a21cd9bd26def06f1b56c50933f812884617855
x64
$ lsb_release -dr
No LSB modules are available.
Description:    Debian GNU/Linux trixie/sid
Release:        n/a
$ arch
x86_64

コメントを残す

メールアドレスが公開されることはありません。 ※ が付いている欄は必須項目です

Your post must include a link to this post.

How does this work?
Write a response on your own website and include a link to this post. Then submit your response’s URL here. Your response may appear here after moderation. To update or remove it, edit or delete your original post and submit the same URL again. Learn more about Webmentions.