mirror of
https://github.com/RGBCube/serenity
synced 2025-10-28 16:42:06 +00:00
When the search editor calls on really_quit_event_loop to cancel the search, the command loaded in m_buffer would actually execute because really_quit_event_loop sends a new line character and then afterwards clears the buffer. By using end_search prior to exiting the event loop, this patch will appropriately clear the buffer, not execute any commands, and preserve the original loaded buffer after returning from a canceled search. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Editor.cpp | ||
| Editor.h | ||
| InternalFunctions.cpp | ||
| KeyCallbackMachine.cpp | ||
| KeyCallbackMachine.h | ||
| Span.h | ||
| StringMetrics.h | ||
| Style.h | ||
| SuggestionDisplay.h | ||
| SuggestionManager.cpp | ||
| SuggestionManager.h | ||
| VT.h | ||
| XtermSuggestionDisplay.cpp | ||