Skip to content

Commit 8142697

Browse files
committed
Merge pull request #56 from tonyskn/betterCloseRunnerPane
Improve close_runner_pane
2 parents d6d88a4 + 06d75cb commit 8142697

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/vimux.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ class TmuxSession
293293
end
294294

295295
def close_runner_pane
296-
_run("kill-pane -t #{target(:pane => runner_pane)}")
296+
_run("kill-pane -t #{target(:pane => runner_pane)}") unless @runner_pane.nil?
297297
end
298298

299299
def close_other_panes

0 commit comments

Comments
 (0)