tty: add tee

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-17 02:38:00 -04:00
commit 4909482a2e
5 changed files with 88 additions and 10 deletions

View file

@ -32,5 +32,8 @@ void tty_set_cursor_pos(struct tty *tty, int x, int y);
void tty_get_cursor_pos(struct tty *tty, int *row, int *col);
void tty_get_size(struct tty *tty, int *rows, int *cols);
void tty_setlf(struct tty *tty);
struct tty *tty_tee_create(const char *name);
void tty_tee_add(struct tty *tee, struct tty *child);
void tty_tee_remove(struct tty *tee, struct tty *child);
#endif /* _TTY_H_ */