Archived
1
Fork 0
This repository has been archived on 2024-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
kilo/include/terminal.h

17 lines
346 B
C

#ifndef TERMINAL_H
#define TERMINAL_H
#include <stdbool.h>
#include "kilo.h"
int term_enable_raw(void);
void term_disable_raw(void);
int term_clear(void);
int term_cursor_hidden(bool);
int term_get_win_size(int *, int *);
int term_get_cursor_pos(int *, int *);
int term_set_cursor_pos(int, int);
KEY term_read_key(void);
#endif // TERMINAL_H