mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-25 20:41:49 +03:00
Restore terminal before switching from alternate screen
This commit is contained in:
parent
8fdda6d980
commit
9fff572aab
@ -362,8 +362,8 @@ NCursesUI::~NCursesUI()
|
||||
{
|
||||
enable_mouse(false);
|
||||
m_palette.set_change_colors(false);
|
||||
endwin();
|
||||
restore_terminal_mode();
|
||||
endwin();
|
||||
set_signal_handler(SIGWINCH, SIG_DFL);
|
||||
set_signal_handler(SIGHUP, SIG_DFL);
|
||||
set_signal_handler(SIGTSTP, SIG_DFL);
|
||||
|
Loading…
Reference in New Issue
Block a user