reset console display line when there's a clear

This commit is contained in:
Michael Akopyan 2021-03-11 13:45:13 -08:00
parent eb4123fd0a
commit 5b5bed1834

View File

@ -496,6 +496,7 @@ namespace game_console
{
clear();
con.line_count = 0;
con.display_line_offset = 0;
con.output.clear();
history_index = -1;
history.clear();
@ -716,6 +717,7 @@ namespace game_console
{
clear();
con.line_count = 0;
con.display_line_offset = 0;
con.output.clear();
history_index = -1;
history.clear();