Use imagescroll feature.

This commit is contained in:
Nicholas Marriott
2026-10-14 13:55:06 +01:00
parent d78914317c
commit d4d065c76c
11 changed files with 265 additions and 9 deletions

View File

@@ -41,6 +41,13 @@ fallback_select(__unused struct tty *tty)
return (1);
}
/* Text images move with terminal scrolling. */
int
fallback_get_flags(__unused struct tty *tty)
{
return (IMAGE_BACKEND_SCROLLS);
}
/* Get the average colour and brightness of an area. */
static int
fallback_sample(struct image *im, uint64_t px, uint64_t py, uint64_t pw,