From 01fe804561f1b8ce4e4da9763c857ef7302c2ee5 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 16 Dec 2017 21:05:38 +0100 Subject: Get rid of the sleep while reading the socket We don't need this any more. The socket will block and wait for us to send it a message. --- vimput.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/vimput.pl b/vimput.pl index d1a85d1..8add6d4 100644 --- a/vimput.pl +++ b/vimput.pl @@ -215,7 +215,6 @@ if ($pid == 0) { while (my $line = <$connection>) { print $write_handle $line; } - sleep 5; close $socket; -- cgit v1.2.3