aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2017-12-17 00:38:00 +0100
committerTeddy Wing2017-12-17 00:38:00 +0100
commit516f13a1da74f2480c1d42eb29700f83ff9a4603 (patch)
treeecfde04295a9e9333d152531a5f88131e0a60654
parent3f54e141e69452d97fdd08f164dab3da83e14f68 (diff)
downloadirssi-vimput-516f13a1da74f2480c1d42eb29700f83ff9a4603.tar.bz2
Rename `update_input_line_when_finished`
Make it even longer! Well, the original name didn't seem to be descriptive enough since we're calling `open_tmux_split` inside it instead of in the signal handler.
-rw-r--r--vimput.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/vimput.pl b/vimput.pl
index 091a7d3..a445c9d 100644
--- a/vimput.pl
+++ b/vimput.pl
@@ -59,7 +59,7 @@ sub open_tmux_split {
}
-sub update_input_line_when_finished {
+sub open_tmux_and_update_input_line_when_finished {
return if $forked;
my ($read_handle, $write_handle);
@@ -188,6 +188,6 @@ Irssi::signal_add_last 'gui key pressed' => sub {
if ($key eq CTRL_X) {
write_input(Irssi::parse_special('$L', undef, 0));
- update_input_line_when_finished();
+ open_tmux_and_update_input_line_when_finished();
}
};