Was playing with aerc and sixel a bit (Ubuntu 22.04, aerc commit 6b97085a, vaxis 0.11.0, tmux next-3.6 with the default configuration), and noticed that this happens:
I tested it with this https://github.com/csdvrx/sixel-testsuite/blob/master/snake.six image in aerc's :terminal
(so I was able to launch tmux inside aerc, too, the last case :)
Terminals in question were alactritty (via https://github.com/alacritty/alacritty/pull/4763 ), xterm 372 (default for Ubuntu 22.04), xterm 397 and mlterm 3.9.3. The last two, however, provided a bit different results:
<C-l>
or clear
, and if a TUI program is launched afterwards, sixel image stays on top of it (https://qu.ax/JPuYG.png )Honestly don't know who's to blame here but since something gets off inside vaxis, thought maybe I'd simply share these results with you :)
Checked with ghostty v1.0.1, too (aerc v0.19.0):
ghostty -> aerc: shows sixel, however, the image can't be cleared with
<C-l>
orclear
. With respect to emails, this means that displayed sixel images stay on top, accumulate and leave artifacts when scrolling. This is how it looks: https://qu.ax/EvrYF.pngghostty -> tmux -> aerc: does not show sixel (shows SIXEL IMAGE (38x15)+++...)