diff options
author | Jesse Luehrs <doy@tozt.net> | 2009-07-10 23:32:47 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2009-07-10 23:32:47 -0500 |
commit | 479eb3c0f61df283dcb5afeae36929d69d5cb922 (patch) | |
tree | f80f9d47d354ed8cc4b34996408fb738ae11ac33 | |
parent | 1a0beb84397df498e6e78b25fcfc6b98ff52b282 (diff) | |
download | app-termcast-479eb3c0f61df283dcb5afeae36929d69d5cb922.tar.gz app-termcast-479eb3c0f61df283dcb5afeae36929d69d5cb922.zip |
turn off cr/nl translation on the user's terminal
-rw-r--r-- | lib/App/Termcast.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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)) { |