1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:17:46 +00:00

LibLine: Close the search editor when it's interrupted

Fixes #5233.
This commit is contained in:
AnotherTest 2021-02-07 03:12:17 +03:30 committed by Andreas Kling
parent 5204c9062c
commit 3a231c00aa
3 changed files with 13 additions and 1 deletions

View file

@ -448,6 +448,7 @@ private:
struct termios m_default_termios {
};
bool m_was_interrupted { false };
bool m_previous_interrupt_was_handled_as_interrupt { true };
bool m_was_resized { false };
// FIXME: This should be something more take_first()-friendly.