diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2020-02-29 14:58:50 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2020-02-29 14:58:50 -0700 |
commit | 7ab96b2dcac381e1fdc42d69ce96cd5758943d19 (patch) | |
tree | ce953408bc8f44cec8cd3f59c3ad9d3e73ea06cf | |
parent | 60f55130174383d612318e3c797e7e2820622cb4 (diff) | |
download | dotfiles-7ab96b2dcac381e1fdc42d69ce96cd5758943d19.tar.gz |
always use _sysptycap_script for now
-rw-r--r-- | perl5/Local/Interactive.pm | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/perl5/Local/Interactive.pm b/perl5/Local/Interactive.pm index 50f3e06a..4565fd23 100644 --- a/perl5/Local/Interactive.pm +++ b/perl5/Local/Interactive.pm @@ -148,11 +148,15 @@ fallback to script(1) then this is not a problem. =cut sub system_pty_capture { - if (eval { require IO::Pty } and -t STDOUT) { - return _sysptycap_tty(@_); - } else { - return _sysptycap_script(@_); - } + # if (eval { require IO::Pty } and -t STDOUT) { + # return _sysptycap_tty(@_); + # } else { + # return _sysptycap_script(@_); + # } + + # always use _sysptycap_script for now because _sysptycap_tty has + # some bugs + _sysptycap_script(@_); } sub _sysptycap_script { |