This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #19153] Term::Complete (the argument of stty)
authorOKAIE Yutaka <unknown>
Sun, 15 Dec 2002 13:45:23 +0000 (13:45 +0000)
committerhv <hv@crypt.org>
Mon, 23 Dec 2002 05:47:17 +0000 (05:47 +0000)
From: OKAIE Yutaka (via RT) <perlbug-followup@perl.org>
Message-Id: <rt-19153-45441.1.2145712923207@bugs6.perl.org>

p4raw-id: //depot/perl@18343

lib/Term/Complete.pm

index e20b2a6..4ae4541 100644 (file)
@@ -106,6 +106,7 @@ sub Complete {
            $tty_saved_state = undef;
        }
        else {
+           chomp $tty_saved_state;
            $tty_restore = qq($stty "$tty_saved_state");
        }
     }