mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
- reset internal console state on clear CCMD
'last line needs update' flag cannot be set when console is empty as there are no lines at all in this case https://forum.zdoom.org/viewtopic.php?t=64909
This commit is contained in:
parent
589f9b5c24
commit
5661e39ca7
1 changed files with 2 additions and 0 deletions
|
@ -123,6 +123,8 @@ void FConsoleBuffer::FormatText(FFont *formatfont, int displaywidth)
|
|||
{
|
||||
if (formatfont != mLastFont || displaywidth != mLastDisplayWidth || mBufferWasCleared)
|
||||
{
|
||||
if (mBufferWasCleared)
|
||||
mLastLineNeedsUpdate = false;
|
||||
m_BrokenConsoleText.Clear();
|
||||
mBrokenStart.Clear();
|
||||
mBrokenStart.Push(0);
|
||||
|
|
Loading…
Reference in a new issue