diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-11-28 11:08:34 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-11-28 11:11:30 -0800 |
commit | 41803e4afc7ed188e9abbdd4d01b1dfe75ffb4ac (patch) | |
tree | ceb02f65074b03917b48cd6046a08c875bcf9c62 /src | |
parent | c015ffe40ad743858ff32e1ca5441fb9e9379428 (diff) | |
download | teliva-41803e4afc7ed188e9abbdd4d01b1dfe75ffb4ac.tar.gz |
use header everywhere
Diffstat (limited to 'src')
-rw-r--r-- | src/lcurses/window.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lcurses/window.c b/src/lcurses/window.c index 82d8dfe..72680d5 100644 --- a/src/lcurses/window.c +++ b/src/lcurses/window.c @@ -36,8 +36,8 @@ @classmod curses.window */ +#include "../teliva.h" #include "_helpers.c" - #include "chstr.c" @@ -1313,9 +1313,9 @@ Wgetch(lua_State *L) if (c == ERR) return 0; - if (c == 24) /* ctrl-x */ + if (c == CTRL_X) exit(0); - if (c == 5) /* ctrl-e */ + if (c == CTRL_E) switch_to_editor(L); /* handle other standard menu hotkeys here */ |