feat: Scrollable chat (#1493)

* chat scrolling

* allow escape to close chat instead of opening pause
This commit is contained in:
DrPerkyLegit
2026-04-12 23:50:16 -04:00
committed by GitHub
parent 744048f455
commit c7014f6b18
7 changed files with 58 additions and 10 deletions

View File

@@ -161,7 +161,7 @@ void Screen::updateEvents()
static bool s_arrowFirstRepeat[2] = { false, false };
const DWORD ARROW_REPEAT_DELAY_MS = 250;
const DWORD ARROW_REPEAT_INTERVAL_MS = 50;
DWORD now = GetTickCount();
DWORD now = GetTickCount64();
// Poll keyboard events (special keys that may not come through WM_CHAR, e.g. Escape, arrows)
for (int vk = 0; vk < 256; vk++)