Images in terminal emulators
13-11-2023
Playing with newsboat and W3M as pager, I've been checking Terminals that support W3M images without flickering when scrolling, or other display artifacts. Unfortunately I've only found one, Xterm.
There are a lot of publications on the web proposing arcane hacks, might not work for you's, unmaintained stuff, etc. but in reality there's no cut and dried solution for W3M's own image rendering that works on all terminal emulators.
- Xterm - Images display correctly
- Kconsole - Images display but bar across the screen at the cursor position
- Xfce4-terminal - Images display only when scrolling with flicker
- Alacritty - Images display only when scrolling with flicker
- Mate Terminal - Images display only when scrolling with flicker .etc. etc.
- Kitty - has it's own image routines, but I was unable to get it to work with W3M 's kitty display option
The working solution I found was sixel support, see arewesixelyet.com
Today the winner is: Alacritty with W3M's img2sixel option