summaryrefslogtreecommitdiffstats
path: root/helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'helpers.h')
-rw-r--r--helpers.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/helpers.h b/helpers.h
index f01e024..a415a6c 100644
--- a/helpers.h
+++ b/helpers.h
@@ -4,7 +4,10 @@
#include <panel.h>
#include <stddef.h>
+#define KEY_ESCAPE 0x1b
+
extern void *xmalloc(size_t size);
+extern unsigned long strict_strtoul(const char *nptr, int base);
extern void cursinit(void);
extern void cursupdate(void);
@@ -13,3 +16,5 @@ extern void delpan(PANEL *pan);
extern void reset_panel(PANEL *pan, int h, int w, int y, int x);
extern int pprintw(PANEL *pan, const char *fmt, ...);
extern int pclear(PANEL *pan);
+extern int pattron(PANEL *pan, int attrs);
+extern int pattroff(PANEL *pan, int attrs);