mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2024-11-23 12:32:14 +00:00
no longer able to scroll past the topmost line after a console clear
This commit is contained in:
parent
e4062a6c90
commit
e7fc251663
1 changed files with 3 additions and 1 deletions
|
@ -153,6 +153,8 @@ static void Con_Clear_f( void )
|
|||
con.text[i] = (COLOR_WHITE << 8) | ' ';
|
||||
}
|
||||
|
||||
con.current = con.totallines - 1;
|
||||
|
||||
Con_Bottom();
|
||||
}
|
||||
|
||||
|
@ -233,7 +235,7 @@ static void Con_Init()
|
|||
|
||||
con.linewidth = CONSOLE_WIDTH;
|
||||
con.totallines = CON_TEXTSIZE / con.linewidth;
|
||||
con.current = con.totallines - 1;
|
||||
|
||||
Con_Clear_f();
|
||||
|
||||
con.cw = CONCHAR_WIDTH;
|
||||
|
|
Loading…
Reference in a new issue