[CONSRV] Disable the old code for scrolling via keyboard shortcuts as it is buggy. To be fixed later...

This commit is contained in:
Hermès Bélusca-Maïto 2020-02-09 00:30:50 +01:00
parent 421150d5c3
commit fe3d655bc0
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -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 */