image: select backend after terminal setup

This commit is contained in:
Michael Grant
2026-08-10 14:34:16 +01:00
parent 047308b156
commit c97ceaffe8

4
tty.c
View File

@@ -290,6 +290,10 @@ tty_open(struct tty *tty, char **cause)
}
tty->flags |= TTY_OPENED;
#ifdef ENABLE_IMAGES
image_tty_update(tty);
#endif
tty->flags &= ~(TTY_NOCURSOR|TTY_FREEZE|TTY_BLOCK|TTY_TIMER);
event_set(&tty->event_in, c->fd, EV_PERSIST|EV_READ,