about summary refs log tree commit diff stats
path: root/src/lcurses
diff options
context:
space:
mode:
Diffstat (limited to 'src/lcurses')
-rw-r--r--src/lcurses/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lcurses/window.c b/src/lcurses/window.c
index beaa148..4ce8bb7 100644
--- a/src/lcurses/window.c
+++ b/src/lcurses/window.c
@@ -1321,7 +1321,7 @@ Wgetch(lua_State *L)
 		unlink("teliva_editor_state");
 		exit(0);
 	}
-	if (c == CTRL_E)
+	if (c == CTRL_U)
 		developer_mode(L);
 	if (c == CTRL_P)
 		permissions_mode(L);