diff options
Diffstat (limited to '')
-rw-r--r-- | common/ttyio.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common/ttyio.c b/common/ttyio.c index 84b81820c..9882c8e30 100644 --- a/common/ttyio.c +++ b/common/ttyio.c @@ -674,6 +674,14 @@ tty_disable_completion (void) void +tty_cleanup_after_signal (void) +{ +#ifdef HAVE_TCGETATTR + cleanup (); +#endif +} + +void tty_cleanup_rl_after_signal (void) { if (my_rl_cleanup_after_signal) |