1
0
forked from aniani/vim

patch 8.1.1840: Testing: WorkingClipboard() is not accurate

Problem:    Testing: WorkingClipboard() is not accurate.
Solution:   Check feature clipboard_working instead.
This commit is contained in:
Bram Moolenaar
2019-08-12 14:20:33 +02:00
parent 0b5dc64446
commit 52992feafe
5 changed files with 7 additions and 20 deletions

View File

@@ -322,13 +322,3 @@ func RunVimPiped(before, after, arguments, pipecmd)
endif
return 1
endfunc
func WorkingClipboard()
if !has('clipboard')
return 0
endif
if has('x11')
return $DISPLAY != ""
endif
return 1
endfunc