From 479eb3c0f61df283dcb5afeae36929d69d5cb922 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Fri, 10 Jul 2009 23:32:47 -0500 Subject: turn off cr/nl translation on the user's terminal --- lib/App/Termcast.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/App/Termcast.pm b/lib/App/Termcast.pm index 0f2dc7e..c4345fa 100644 --- a/lib/App/Termcast.pm +++ b/lib/App/Termcast.pm @@ -65,7 +65,7 @@ sub run { my ($rin, $rout) = ''; vec($rin, fileno(STDIN) ,1) = 1; vec($rin, $ptyfd, 1) = 1; - ReadMode 4; + ReadMode 5; while (1) { my $ready = select($rout = $rin, undef, undef, undef); if (vec($rout, fileno(STDIN), 1)) { -- cgit v1.2.3-54-g00ecf