0
0
Fork 0
mirror of https://git.do.srb2.org/KartKrew/Kart-Public.git synced 2025-01-30 04:50:55 +00:00

Scroll console immediately upon pressing PageUp

This commit is contained in:
jameds 2018-03-19 23:15:16 -07:00 committed by James R
parent 9ef98471a4
commit 587586f4bb

View file

@ -1539,8 +1539,7 @@ static void CON_DrawConsole(void)
i = con_cy - con_scrollup; i = con_cy - con_scrollup;
// skip the last empty line due to the cursor being at the start of a new line // skip the last empty line due to the cursor being at the start of a new line
if (!con_scrollup && !con_cx) i--;
i--;
i -= (con_curlines - minheight) / charheight; i -= (con_curlines - minheight) / charheight;