cursetree/src/term.h

20 lines
374 B
C
Raw Normal View History

#ifndef _CURSETREE_TERM_H
#define _CURSETREE_TERM_H
#include "termios.h"
struct ct_term {
int fd;
unsigned short cols;
unsigned short rows;
struct termios termios0;
struct termios termios;
};
2025-09-24 16:56:09 +10:00
int stashterm(const struct ct_term **const term);
void resetterm(struct ct_term *const term);
int termsize(struct ct_term *const term);
#endif /* _CURSETREE_TERM_H */