[perl #19153] Term::Complete (the argument of stty)
OKAIE Yutaka [Sun, 15 Dec 2002 13:45:23 +0000 (13:45 +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");
        }
     }