Skip to content

Commit 1846292

Browse files
committed
Fix GNU Screen focus on Neovim
1 parent 1ec1518 commit 1846292

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/dispatch/screen.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function! dispatch#screen#spawn(command, request) abort
2525
\ . shellescape('exec ' . dispatch#isolate(a:request,
2626
\ ['STY', 'WINDOW'], dispatch#set_title(a:request), a:command))
2727
silent execute '!' . escape(command, '!#%')
28-
if a:request.background || a:request.action !=# 'start' && !has('gui_running')
28+
if (a:request.background || a:request.action !=# 'start') && !has('gui_running') && !has('nvim')
2929
silent !screen -X other
3030
endif
3131
return 1

0 commit comments

Comments
 (0)