home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed bug that crashed the client on terminal resizing due to wrongly expecting there...
[plomrogue]
/
src
/
client
/
control.c
diff --git
a/src/client/control.c
b/src/client/control.c
index 4c512dcf978a62ad8a62086a2ff1595c505f1686..a58c35cb06e060ddfb4763413a0068c051b9e76d 100644
(file)
--- a/
src/client/control.c
+++ b/
src/client/control.c
@@
-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);
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)
{
struct WinConf * wc = get_winconf_by_win(world.wmeta.active);
if (0 == wc->view)