From b17a9b87131e91c7da56fcdf463f4236244c105c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Beno=C3=AEt?= Date: Sun, 30 Oct 2022 10:02:20 +0100 Subject: [PATCH] Fixed missing refactor in term_feed --- gprompt.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gprompt.pl b/gprompt.pl index efca530..8946418 100644 --- a/gprompt.pl +++ b/gprompt.pl @@ -384,7 +384,7 @@ sub term_feed my ($ttyIn, $ttyOut, $term) = @{ $_[0] }; shift; foreach my $pByte (@_) { - ioctl $term->[0], 0x5412, $pByte; + ioctl $ttyIn, 0x5412, $pByte; } }