File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,9 @@ function! dispatch#tmux#handle(request) abort
26
26
let command .= ' -d'
27
27
endif
28
28
let command .= ' ' . shellescape (' exec ' . dispatch#isolate (
29
- \ [' TMUX' , ' TMUX_PANE' ], dispatch#prepare_start (a: request )))
29
+ \ [' TMUX' , ' TMUX_PANE' ],
30
+ \ dispatch#set_title (a: request ),
31
+ \ dispatch#prepare_start (a: request )))
30
32
call system (command )
31
33
return 1
32
34
endif
@@ -37,6 +39,7 @@ function! dispatch#tmux#make(request) abort
37
39
\ && a: request .format !~# ' %\\[er]'
38
40
let session = get (g: , ' tmux_session' , ' ' )
39
41
let script = dispatch#isolate ([' TMUX' , ' TMUX_PANE' ],
42
+ \ dispatch#set_title (a: request ),
40
43
\ call (' dispatch#prepare_make' , [a: request ] +
41
44
\ (pipepane ? [a: request .expanded . ' ; echo $? > ' . a: request .file . ' .complete' ] : [])))
42
45
You can’t perform that action at this time.
0 commit comments