mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 20:25:07 +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;
|
||||
reposition_cursor(true);
|
||||
if (m_suggestion_display->cleanup())
|
||||
reposition_cursor();
|
||||
cleanup();
|
||||
reposition_cursor(true);
|
||||
fprintf(stderr, "\n");
|
||||
fflush(stderr);
|
||||
m_buffer.clear();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue