diff options
| author | Teddy Wing | 2017-12-17 00:38:00 +0100 |
|---|---|---|
| committer | Teddy Wing | 2017-12-17 00:38:00 +0100 |
| commit | 516f13a1da74f2480c1d42eb29700f83ff9a4603 (patch) | |
| tree | ecfde04295a9e9333d152531a5f88131e0a60654 | |
| parent | 3f54e141e69452d97fdd08f164dab3da83e14f68 (diff) | |
| download | irssi-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.pl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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(); } }; |
