mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-27 12:16:22 +03:00
Tweak handling of SIGINT
This commit is contained in:
parent
473196e18d
commit
0d8b9c6677
@ -648,6 +648,7 @@ int main(int argc, char* argv[])
|
||||
signal(SIGQUIT, signal_handler);
|
||||
signal(SIGTERM, signal_handler);
|
||||
signal(SIGPIPE, SIG_IGN);
|
||||
signal(SIGINT, [](int){});
|
||||
signal(SIGCHLD, [](int){});
|
||||
|
||||
Vector<String> params;
|
||||
|
@ -260,7 +260,6 @@ NCursesUI::NCursesUI()
|
||||
|
||||
signal(SIGWINCH, on_term_resize);
|
||||
signal(SIGCONT, on_term_resize);
|
||||
signal(SIGINT, [](int){});
|
||||
|
||||
check_resize(true);
|
||||
|
||||
@ -276,7 +275,6 @@ NCursesUI::~NCursesUI()
|
||||
restore_colors();
|
||||
signal(SIGWINCH, SIG_DFL);
|
||||
signal(SIGCONT, SIG_DFL);
|
||||
signal(SIGINT, SIG_DFL);
|
||||
}
|
||||
|
||||
void NCursesUI::Window::create(const CharCoord& p, const CharCoord& s)
|
||||
|
Loading…
Reference in New Issue
Block a user