fix esc to return to normal mode

This commit is contained in:
Luka Jankovic 2025-07-02 22:54:48 +02:00
parent 54a49c2d60
commit 9911031f98

View file

@ -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;