Skip to content

Commit

Permalink
Merge branch 'tr/pty-all'
Browse files Browse the repository at this point in the history
* tr/pty-all:
  test-terminal: set output terminals to raw mode
  • Loading branch information
Junio C Hamano committed Dec 22, 2011
2 parents 2b380d8 + a463aef commit 6fee20d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions t/test-terminal.perl
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ sub copy_stdio {
}
my $master_out = new IO::Pty;
my $master_err = new IO::Pty;
$master_out->set_raw();
$master_err->set_raw();
$master_out->slave->set_raw();
$master_err->slave->set_raw();
my $pid = start_child(\@ARGV, $master_out->slave, $master_err->slave);
close $master_out->slave;
close $master_err->slave;
Expand Down

0 comments on commit 6fee20d

Please sign in to comment.