diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2024-02-12 06:26:14 -0600 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2024-02-12 13:47:29 +0100 |
commit | 4e26faf498b84b90ecd1af3bd6c6e1f2f3e44a6e (patch) | |
tree | 8e04d288683b220080cbae64e420e4e839c6c66d /commands | |
parent | 0ef4717b2a0fad1ee0a6426efa77325affaf566b (diff) | |
download | aerc-4e26faf498b84b90ecd1af3bd6c6e1f2f3e44a6e.tar.gz |
msgviewer: implement inline image viewing
Implement inline image viewing for jpeg, png, bmp, tiff, and webp
formats. When a user has no configured image filter and the image is
supported and the terminal has either sixel or kitty image protocol
support, the image will be displayed in the message viewer.
Always clear the screen before each draw. This call is necessary in
vaxis to allow for images to be cleared properly between renders. There
is no performance impact: the call only resets each cell to a blank
cell, and aerc will redraw each one already.
Changelog-added: Inline image previews when no filter is defined for
`image/*` and the terminal supports it.
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'commands')
0 files changed, 0 insertions, 0 deletions