summaryrefslogtreecommitdiff
path: root/perl5
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-02-29 14:58:50 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-02-29 14:58:50 -0700
commit7ab96b2dcac381e1fdc42d69ce96cd5758943d19 (patch)
treece953408bc8f44cec8cd3f59c3ad9d3e73ea06cf /perl5
parent60f55130174383d612318e3c797e7e2820622cb4 (diff)
downloaddotfiles-7ab96b2dcac381e1fdc42d69ce96cd5758943d19.tar.gz
always use _sysptycap_script for now
Diffstat (limited to 'perl5')
-rw-r--r--perl5/Local/Interactive.pm14
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 {