From: Pasi Kallinen Date: Tue, 5 Apr 2022 12:02:56 +0000 (+0300) Subject: Fix mouse travel and look X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e260c9ded5d2349421e8ee159a3fec98054ca267;p=nethack Fix mouse travel and look Looks like I broke mouse travel and clicklook a while back, and no-one noticed... --- diff --git a/src/cmd.c b/src/cmd.c index d67096b61..d46119f07 100644 --- a/src/cmd.c +++ b/src/cmd.c @@ -3917,6 +3917,9 @@ rhack(char *cmd) goto do_cmdq_extcmd; } else if (firsttime) { cmd = parse(); + /* parse() pushed a cmd but didn't return any key */ + if (!*cmd && g.command_queue) + goto got_prefix_input; } if (*cmd == g.Cmd.spkeys[NHKF_ESC]) {