From 8e0e2f1c14e76ea660f7bff6a104baed0f0048df Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Thu, 22 Oct 2009 21:33:07 -0700 Subject: [PATCH] This patch adds to the characters that cause an automatic switch to the ICS console when typed to the board window. --- winboard/winboard.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/winboard/winboard.c b/winboard/winboard.c index 31afd62..24fd967 100644 --- a/winboard/winboard.c +++ b/winboard/winboard.c @@ -5428,7 +5428,7 @@ WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) JAWS_ALT_INTERCEPT - if (appData.icsActive && (char)wParam > ' ' && !((char)wParam >= '1' && (char)wParam <= '9')) { + if (appData.icsActive && ((char)wParam == '\r' || (char)wParam > ' ' && !((char)wParam >= '1' && (char)wParam <= '9'))) { // [HGM] movenum: for non-zero digits we always do type-in dialog HWND h = GetDlgItem(hwndConsole, OPT_ConsoleInput); if (IsIconic(hwndConsole)) ShowWindow(hwndConsole, SW_RESTORE); -- 1.7.0.4