From fe3d655bc04ed1a77620f66a89ef6326227cdf8a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Sun, 9 Feb 2020 00:30:50 +0100 Subject: [PATCH] [CONSRV] Disable the old code for scrolling via keyboard shortcuts as it is buggy. To be fixed later... --- win32ss/user/winsrv/consrv/frontends/input.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/win32ss/user/winsrv/consrv/frontends/input.c b/win32ss/user/winsrv/consrv/frontends/input.c index a492b28da87..25a53a15c78 100644 --- a/win32ss/user/winsrv/consrv/frontends/input.c +++ b/win32ss/user/winsrv/consrv/frontends/input.c @@ -141,6 +141,11 @@ ConioProcessKey(PCONSRV_CONSOLE Console, MSG* msg) return; } +// +// FIXME: Scrolling via keyboard shortcuts must be done differently, +// without touching the internal VirtualY variable. +// +#if 0 if ( (ShiftState & (RIGHT_ALT_PRESSED | LEFT_ALT_PRESSED)) != 0 && (VirtualKeyCode == VK_UP || VirtualKeyCode == VK_DOWN) ) { @@ -172,6 +177,7 @@ ConioProcessKey(PCONSRV_CONSOLE Console, MSG* msg) ConioDrawConsole(Console); return; } +#endif /* Send the key press to the console driver */ -- 2.17.1