mirror of
https://github.com/tmux/tmux.git
synced 2026-10-15 16:04:34 +00:00
Use imagescroll feature.
This commit is contained in:
@@ -1300,6 +1300,17 @@ sixel_select(struct tty *tty)
|
||||
return (0);
|
||||
}
|
||||
|
||||
/* Get SIXEL backend flags. */
|
||||
int
|
||||
sixel_get_flags(struct tty *tty)
|
||||
{
|
||||
int flags = IMAGE_BACKEND_GRAPHICAL;
|
||||
|
||||
if (tty_term_flag(tty->term, TTYC_ISCRL))
|
||||
flags |= IMAGE_BACKEND_SCROLLS;
|
||||
return (flags);
|
||||
}
|
||||
|
||||
/* Get pending SIXEL rows for a terminal. */
|
||||
static struct sixel_pending *
|
||||
sixel_get_pending(struct tty *tty)
|
||||
|
||||
Reference in New Issue
Block a user