diff options
author | Jesse Luehrs <doy@tozt.net> | 2012-03-05 00:05:30 -0600 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2012-03-05 00:05:30 -0600 |
commit | 02f4e2e1f706971d7f291c17389697ccfa99e01c (patch) | |
tree | b4c0672a0c207959303db242dedf8cc70ad9d305 /lib/Term | |
parent | 43d7a3200464561d83100a9152748b381e1ad44f (diff) | |
download | term-filter-02f4e2e1f706971d7f291c17389697ccfa99e01c.tar.gz term-filter-02f4e2e1f706971d7f291c17389697ccfa99e01c.zip |
don't hardcode STDIN here
Diffstat (limited to 'lib/Term')
-rw-r--r-- | lib/Term/Filter.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Term/Filter.pm b/lib/Term/Filter.pm index 3769150..044af70 100644 --- a/lib/Term/Filter.pm +++ b/lib/Term/Filter.pm @@ -154,7 +154,7 @@ sub _setup { my $prev_winch = $SIG{WINCH}; $SIG{WINCH} = sub { - $self->pty->slave->clone_winsize_from(\*STDIN); + $self->pty->slave->clone_winsize_from($self->input); $self->pty->kill('WINCH', 1); |