mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibLine: Handle interrupts/window size changes internally
This commit is contained in:
committed by
Andreas Kling
parent
238e87de4e
commit
30554c969c
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user