diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-02-07 22:54:17 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-02-07 22:54:17 -0800 |
commit | 504573a0de604bfeb04d4fe938fca8f42da55eca (patch) | |
tree | 896786f542ee92007703561875aa2be516f2a27f /src/lcurses | |
parent | 0d16c7c690c0608630082a0470c500d9b3f25f8a (diff) | |
download | teliva-504573a0de604bfeb04d4fe938fca8f42da55eca.tar.gz |
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.
Diffstat (limited to 'src/lcurses')
-rw-r--r-- | src/lcurses/window.c | 2 |
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); |