home · contact · privacy
Fixed bug that crashed the client on terminal resizing due to wrongly expecting there...
[plomrogue] / src / client / control.c
index 4c512dcf978a62ad8a62086a2ff1595c505f1686..a58c35cb06e060ddfb4763413a0068c051b9e76d 100644 (file)
@@ -151,7 +151,7 @@ static uint8_t try_server_commands(struct Command * command)
 extern uint8_t try_key(uint16_t key)
 {
     struct Command * command = get_command_to_keycode(world.kb_global.kbs, key);
-    if (!command)
+    if (!command && world.wmeta.active)
     {
         struct WinConf * wc = get_winconf_by_win(world.wmeta.active);
         if      (0 == wc->view)