Files
fx/term/tty.h

24 lines
405 B
C
Raw Normal View History

#ifndef _TTY_H_
#define _TTY_H_
2026-03-16 10:35:43 +00:00
#include <fx/term/tty.h>
#include <stdbool.h>
#define TTY_TMPBUF_SIZE 128
2026-03-16 10:35:43 +00:00
struct fx_tty;
struct tty_format_buf {
bool in_format;
bool reset_vmode;
char buf[TTY_TMPBUF_SIZE];
unsigned int ptr;
2026-03-16 10:35:43 +00:00
struct fx_tty_vmode vmode;
};
2026-03-16 10:35:43 +00:00
extern struct tty_format_buf *z__fx_tty_get_format_buf(struct fx_tty *tty);
extern void z__fx_tty_putc(struct fx_tty *tty, char c);
#endif