From 052d877ee64a0002dde538ae8f9a11da54f89191 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 9 Jun 2014 13:26:54 +0100 Subject: Safer implementation of signal handlers in ncurses.cc On recent ncurses implementation on cygwin, the old method provoked freezes. Avoid calling ncurses functions in signal handlers. We still call an unsafe function (EventManager::force_signal)... --- src/ncurses.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ncurses.hh') diff --git a/src/ncurses.hh b/src/ncurses.hh index 1c40c48f..c8f49e6e 100644 --- a/src/ncurses.hh +++ b/src/ncurses.hh @@ -45,7 +45,7 @@ public: static void abort(); private: - friend void on_term_resize(int); + void check_resize(); void redraw(); void draw_line(const DisplayLine& line, CharCount col_index) const; -- cgit v1.2.3