terminal: 'ED' command fix

Fixes #691.
This commit is contained in:
Christian Prochaska 2013-03-15 18:57:16 +01:00 committed by Norman Feske
parent 0530ff3241
commit a59b2e3f16

View File

@ -282,7 +282,8 @@ class Char_cell_array_character_screen : public Terminal::Character_screen
void ed()
{
/* clear to end of screen */
_char_cell_array.clear(_cursor_pos.y, _boundary.height - 1);
el();
_char_cell_array.clear(_cursor_pos.y + 1, _boundary.height - 1);
}
void el()