Files
fx/term/tty.h
2026-03-16 10:35:43 +00:00

24 lines
405 B
C

#ifndef _TTY_H_
#define _TTY_H_
#include <fx/term/tty.h>
#include <stdbool.h>
#define TTY_TMPBUF_SIZE 128
struct fx_tty;
struct tty_format_buf {
bool in_format;
bool reset_vmode;
char buf[TTY_TMPBUF_SIZE];
unsigned int ptr;
struct fx_tty_vmode vmode;
};
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