Commit: runtime(osc52): don't use osc52 provider if gui is running
Christian Brabandt <[email protected]>
| Newsgroups | gmane.editors.vim.devel |
|---|---|
| Message-ID | <[email protected]> |
runtime(osc52): don't use osc52 provider if gui is running Commit: https://github.com/vim/vim/commit/3886a8ffc5bbc006d5965fca2e1004b4beb4c98b Author: Foxe Chen <[email protected]> Date: Sat Jul 25 16:44:20 2026 +0000 runtime(osc52): don't use osc52 provider if gui is running closes: https://github.com/vim/vim/issues/20841 Signed-off-by: Foxe Chen <[email protected]> Signed-off-by: Christian Brabandt <[email protected]> diff --git a/runtime/pack/dist/opt/osc52/autoload/osc52.vim b/runtime/pack/dist/opt/osc52/autoload/osc52.vim index bad4bc388..16507d05c 100644 --- a/runtime/pack/dist/opt/osc52/autoload/osc52.vim +++ b/runtime/pack/dist/opt/osc52/autoload/osc52.vim @@ -3,6 +3,9 @@ vim9script export var allowed: bool = false export def Available(): bool + if has('gui_running') + return false + endif if get(g:, 'osc52_force_avail', 0) return true endif -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/vim_dev/E1wnfjI-00DYfB-86%40256bit.org.