cursetree/src/term.h

21 lines
371 B
C

#ifndef _CURSETREE_TERM_H
#define _CURSETREE_TERM_H
#include <termios.h>
#include "_ct_shared.h"
struct ct_term {
int fd;
pos cols;
pos rows;
struct termios termios0;
struct termios termios;
};
int stashterm(struct ct_term **const term);
void resetterm(struct ct_term *const term);
int termsize(struct ct_term *const term);
#endif /* _CURSETREE_TERM_H */