|
|
|
@ -57,14 +57,19 @@
|
|
|
|
|
|
|
|
|
|
#if defined HAVE_NCURSESW_CURSES_H
|
|
|
|
|
# include <ncursesw/termcap.h>
|
|
|
|
|
# include <ncursesw/curses.h>
|
|
|
|
|
#elif defined HAVE_NCURSESW_H
|
|
|
|
|
# include <termcap.h>
|
|
|
|
|
# include <ncursesw.h>
|
|
|
|
|
#elif defined HAVE_NCURSES_CURSES_H
|
|
|
|
|
# include <ncurses/termcap.h>
|
|
|
|
|
# include <ncurses/curses.h>
|
|
|
|
|
#elif defined HAVE_NCURSES_H
|
|
|
|
|
# include <termcap.h>
|
|
|
|
|
# include <ncurses.h>
|
|
|
|
|
#elif defined HAVE_CURSES_H
|
|
|
|
|
# include <termcap.h>
|
|
|
|
|
# include <curses.h>
|
|
|
|
|
#else
|
|
|
|
|
# error "SysV or X/Open-compatible Curses header file required"
|
|
|
|
|
#endif
|
|
|
|
@ -368,6 +373,7 @@ static void sigabrt(int sig)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (lnav_log_orig_termios != NULL) {
|
|
|
|
|
endwin();
|
|
|
|
|
tcsetattr(STDOUT_FILENO, TCSAFLUSH, lnav_log_orig_termios);
|
|
|
|
|
}
|
|
|
|
|
fprintf(stderr, CRASH_MSG, crash_path);
|
|
|
|
|