mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 07:05:08 +00:00
LibLine: Don't clear the displayed buffer when interrupted
Since we always restart on a new line, there's no reason to clear the previous lines.
This commit is contained in:
parent
9b126a2250
commit
7059ca9b15
1 changed files with 1 additions and 2 deletions
|
@ -480,8 +480,7 @@ void Editor::interrupted()
|
||||||
m_finish = false;
|
m_finish = false;
|
||||||
reposition_cursor(true);
|
reposition_cursor(true);
|
||||||
if (m_suggestion_display->cleanup())
|
if (m_suggestion_display->cleanup())
|
||||||
reposition_cursor();
|
reposition_cursor(true);
|
||||||
cleanup();
|
|
||||||
fprintf(stderr, "\n");
|
fprintf(stderr, "\n");
|
||||||
fflush(stderr);
|
fflush(stderr);
|
||||||
m_buffer.clear();
|
m_buffer.clear();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue