From 504573a0de604bfeb04d4fe938fca8f42da55eca Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 7 Feb 2022 22:54:17 -0800 Subject: move most Teliva menus to the right The problem I'm running into is that apps might want to perform their own editing. So I can't take up prime estate like the ctrl-e hotkey or a menu name of 'edit'. I'm still prioritizing rendering Teliva's edit and permissions menu. If the window is too narrow the app's settings will be overwritten and Teliva's hotkeys will be preferentially displayed. Seems safer. --- src/lcurses/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lcurses') 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); -- cgit 1.4.1-2-gfad0