xo / usql

Universal command-line interface for SQL databases
MIT License
8.91k stars 351 forks source link

Is terminal graphics in WezTerm under Windows supposed to work? #442

Closed captainkirkoff closed 6 months ago

captainkirkoff commented 7 months ago

Hi, trying to enable terminal graphics in wezterm with Windows 10.

image

No logo displayed at the start of the interactive session. Done several attempts: cmd (both with clink enabled and in pure native mode), powershell, WSL.

Moreover, syntax highlighting is only working in WSL, does not work in native Windows.

kenshaw commented 6 months ago

TERM_GRAPHICS is temporarily disabled by default, until an upcoming major release that will include charts. However, for iTerm and Kitty graphics, you will need to explicitly enable it using the TERM_GRAPHICS environment variable:

export TERM_GRAPHICS=iterm

WezTerm uses iterm graphics, so the above is what you will need to add to your environment. Those who use Sixel graphics should have it detected automatically, and enabled.