mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 20:08:13 +00:00
LibLine: Handle interrupts/window size changes internally
This commit is contained in:
parent
238e87de4e
commit
30554c969c
4 changed files with 9 additions and 10 deletions
|
@ -572,11 +572,6 @@ int main(int argc, char** argv)
|
|||
signal(SIGINT, [](int) {
|
||||
if (!s_editor->is_editing())
|
||||
sigint_handler();
|
||||
s_editor->interrupted();
|
||||
});
|
||||
|
||||
signal(SIGWINCH, [](int) {
|
||||
s_editor->resized();
|
||||
});
|
||||
|
||||
s_editor->on_display_refresh = [syntax_highlight](Line::Editor& editor) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue