diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2014-06-09 13:26:54 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2014-06-09 13:47:36 +0100 |
| commit | 052d877ee64a0002dde538ae8f9a11da54f89191 (patch) | |
| tree | 07b40515cfb1456a64dd3811cc538813f83dbfa3 /src/ncurses.hh | |
| parent | 732d1c3bd19405bb3144f0b56ec1d10758ab8ec5 (diff) | |
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)...
Diffstat (limited to 'src/ncurses.hh')
| -rw-r--r-- | src/ncurses.hh | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
