Do not set zero bits and add features.

This commit is contained in:
Nicholas Marriott
2026-10-14 14:36:43 +01:00
parent 1ce50ef13a
commit 3a2b9ae5be
3 changed files with 8 additions and 1 deletions

4
tty.c
View File

@@ -288,6 +288,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,