aboutsummaryrefslogtreecommitdiffstats
path: root/vimput.pl
diff options
context:
space:
mode:
Diffstat (limited to 'vimput.pl')
-rw-r--r--vimput.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/vimput.pl b/vimput.pl
index e76da3d..88df057 100644
--- a/vimput.pl
+++ b/vimput.pl
@@ -257,8 +257,9 @@ sub pipe_input {
my ($read_handle, $pipe_tag) = @$args;
my $input = <$read_handle>;
+ chomp $input;
- print 'I: ' . $input;
+ Irssi::gui_input_set($input);
# TODO: Add $forked to not spawn more than one children unnecessarily