diff options
Diffstat (limited to 'console.h')
-rw-r--r-- | console.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/console.h b/console.h new file mode 100644 index 0000000..054b768 --- /dev/null +++ b/console.h @@ -0,0 +1,17 @@ +#pragma once + +#include <panel.h> + +struct console { + int master; + int isesc; +}; + +extern int console_init(struct console *cons); +extern int console_deinit(struct console *cons); +extern void console_enter(struct console *cons, PANEL *pan); +extern void console_leave(struct console *cons, PANEL *pan); +extern void console_update(struct console *cons, PANEL *pan); +extern void console_input(struct console *cons, int ch); + +extern int console_configslave(struct console *cons); |