diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-12-25 17:10:30 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-12-25 18:51:05 -0800 |
commit | f5ab71b4e13e7d51537611b3604581a6f645400e (patch) | |
tree | 49c71e5aad46124128147d229afa28517528b1ea /src/lcurses | |
parent | 8458ba0202abe802c71ce9adba85833083bb73ea (diff) | |
download | teliva-f5ab71b4e13e7d51537611b3604581a6f645400e.tar.gz |
flesh out very preliminary UI
Our sandboxing model is a blunt caricature, just two booleans. But let's see how far this gets us. Still doesn't persist, and definitely has no effect.
Diffstat (limited to 'src/lcurses')
-rw-r--r-- | src/lcurses/window.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lcurses/window.c b/src/lcurses/window.c index ded837f..c722a32 100644 --- a/src/lcurses/window.c +++ b/src/lcurses/window.c @@ -1321,6 +1321,8 @@ Wgetch(lua_State *L) } if (c == CTRL_E) developer_mode(L); + if (c == CTRL_P) + permissions_mode(L); /* handle other standard menu hotkeys here */ return pushintresult(c); |