about summary refs log tree commit diff stats
path: root/src/lcurses
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-12-25 17:10:30 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-12-25 18:51:05 -0800
commitf5ab71b4e13e7d51537611b3604581a6f645400e (patch)
tree49c71e5aad46124128147d229afa28517528b1ea /src/lcurses
parent8458ba0202abe802c71ce9adba85833083bb73ea (diff)
downloadteliva-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.c2
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);