Commit 81195810 authored by Matan Ziv-Av's avatar Matan Ziv-Av Committed by Tomaz Canabrava
Browse files

Remove images on when clearing entire screen

parent 085814e2
Pipeline #134350 passed with stage
in 2 minutes and 31 seconds
......@@ -1276,6 +1276,10 @@ void Screen::clearToBeginOfScreen()
void Screen::clearEntireScreen()
{
clearImage(loc(0, 0), loc(_columns - 1, _lines - 1), ' ');
if (_currentTerminalDisplay && _currentTerminalDisplay->hasGraphics()) {
_currentTerminalDisplay->delPlacements();
_currentTerminalDisplay->update();
}
}
/*! fill screen with 'E'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment