dankamongmen / notcurses

blingful character graphics/TUI library. definitely not curses.
https://nick-black.com/dankwiki/index.php/Notcurses
Other
3.57k stars 112 forks source link

ncplayer: differences in behavior between terminals on SIGWINCH #2719

Open rockorager opened 1 year ago

rockorager commented 1 year ago

Everything with notcurses 3.0.9.

ncplayer /path/to/some.png

foot:

COLORTERM=truecolor GDM_LANG=en_US.UTF-8 LANG=en_US.UTF-8 TERM=foot TERM_PROGRAM=foot TERM_PROGRAM_VERSION=1.14.0

Sixel appears, centered. Resize image. Sixel still appears, centered.

wezterm

COLORTERM=truecolor GDM_LANG=en_US.UTF-8 LANG=en_US.UTF-8 LANGUAGE TERM=wezterm TERM_PROGRAM=WezTerm TERM_PROGRAM_VERSION=20230408-112425-69ae8472 WEZTERM_CONFIG_DIR=/home/tim/.config/wezterm WEZTERM_CONFIG_FILE=/home/tim/.config/wezterm/wezterm.lua WEZTERM_EXECUTABLE=/usr/bin/wezterm-gui WEZTERM_EXECUTABLE_DIR=/usr/bin WEZTERM_PANE=0

Graphic appears (I assume with kitty), scaled to fill window. Resize, image rescales to fill new window size

kitty

COLORTERM=truecolor GDM_LANG=en_US.UTF-8 LANG=en_US.UTF-8 TERM=xterm-kitty TERMINFO=/usr/lib/kitty/terminfo version=0.28.1

Graphic appears, scaled to fill window. resize, no graphic anymore.

rockorager commented 1 year ago

IMO, this really should be a bug with either kitty or wezterm, but it's unclear to me which one.