From c4282847885627a2ebd8cca5e4717eb39eb83bf0 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 26 May 2009 09:29:33 +0000 Subject: signal cleanup fix --- common/ttyio.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'common/ttyio.c') diff --git a/common/ttyio.c b/common/ttyio.c index 84b81820c..9882c8e30 100644 --- a/common/ttyio.c +++ b/common/ttyio.c @@ -673,6 +673,14 @@ tty_disable_completion (void) } +void +tty_cleanup_after_signal (void) +{ +#ifdef HAVE_TCGETATTR + cleanup (); +#endif +} + void tty_cleanup_rl_after_signal (void) { -- cgit v1.2.3