aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2017-12-16 21:05:38 +0100
committerTeddy Wing2017-12-16 21:05:38 +0100
commit01fe804561f1b8ce4e4da9763c857ef7302c2ee5 (patch)
tree4cce39d117b488fbd1f603583a8ba6a4d2666be6
parentefec182afe6e2b3dc8980c1740d22f53ccdb0109 (diff)
downloadirssi-vimput-01fe804561f1b8ce4e4da9763c857ef7302c2ee5.tar.bz2
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.
-rw-r--r--vimput.pl1
1 files changed, 0 insertions, 1 deletions
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;