fix esc to return to normal mode
This commit is contained in:
parent
54a49c2d60
commit
9911031f98
1 changed files with 1 additions and 0 deletions
|
|
@ -38,6 +38,7 @@ static void key_input(struct kubo_context *context) {
|
|||
|
||||
switch (key_code) {
|
||||
case KEY_Q:
|
||||
case KEY_ESCAPE:
|
||||
kubo_context_set_state(context, KUBO_CONTEXT_NORMAL);
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue