From: OKAIE Yutaka Date: Sun, 15 Dec 2002 13:45:23 +0000 (+0000) Subject: [perl #19153] Term::Complete (the argument of stty) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=83486d4664566cb522472f736593148f56d87b63;p=p5sagit%2Fp5-mst-13.2.git [perl #19153] Term::Complete (the argument of stty) From: OKAIE Yutaka (via RT) Message-Id: p4raw-id: //depot/perl@18343 --- diff --git a/lib/Term/Complete.pm b/lib/Term/Complete.pm index e20b2a6..4ae4541 100644 --- a/lib/Term/Complete.pm +++ b/lib/Term/Complete.pm @@ -106,6 +106,7 @@ sub Complete { $tty_saved_state = undef; } else { + chomp $tty_saved_state; $tty_restore = qq($stty "$tty_saved_state"); } }