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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lcurses/window.c b/src/lcurses/window.c
index 8d3d5f1..87c5d08 100644
--- a/src/lcurses/window.c
+++ b/src/lcurses/window.c
@@ -1304,7 +1304,7 @@ Read a character from the window input.
 @see curses.echo
 @see keypad
 */
-extern void switch_to_editor (lua_State *L);
+extern void developer_mode (lua_State *L);
 static int
 Wgetch(lua_State *L)
 {
@@ -1318,7 +1318,7 @@ Wgetch(lua_State *L)
 		exit(0);
 	}
 	if (c == CTRL_E)
-		switch_to_editor(L);
+		developer_mode(L);
 	/* handle other standard menu hotkeys here */
 
 	return pushintresult(c);