diff options
author | OKAIE Yutaka <unknown> | 2002-12-15 13:45:23 +0000 |
---|---|---|
committer | hv <hv@crypt.org> | 2002-12-23 05:47:17 +0000 |
commit | 83486d4664566cb522472f736593148f56d87b63 (patch) | |
tree | 400e3c8eae9e2094cc5de58123fb97cf64e67939 /lib | |
parent | 03994de86de9fdff188863fc25636fecf2362e27 (diff) | |
download | perl-83486d4664566cb522472f736593148f56d87b63.tar.gz |
[perl #19153] Term::Complete (the argument of stty)
From: OKAIE Yutaka (via RT) <perlbug-followup@perl.org>
Message-Id: <rt-19153-45441.1.2145712923207@bugs6.perl.org>
p4raw-id: //depot/perl@18343
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Term/Complete.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Term/Complete.pm b/lib/Term/Complete.pm index e20b2a66ce..4ae454144f 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"); } } |