Mercurial > vim
diff src/option.h @ 13470:6faef782f50b v8.0.1609
patch 8.0.1609: shell commands in the GUI use a dumb terminal
commit https://github.com/vim/vim/commit/135682517bc378cfdb63fe3a6e3553935f69f6ce
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Mar 16 20:46:58 2018 +0100
patch 8.0.1609: shell commands in the GUI use a dumb terminal
Problem: Shell commands in the GUI use a dumb terminal.
Solution: Add the "!" flag to 'guioptions' to execute system commands in a
special terminal window. Only for Unix now.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 16 Mar 2018 21:00:08 +0100 |
parents | fa198b71bab2 |
children | c32e9628dc30 |
line wrap: on
line diff
--- a/src/option.h +++ b/src/option.h @@ -214,6 +214,7 @@ #define SHM_ALL "rmfixlnwaWtToOsAIcqF" /* all possible flags for 'shm' */ /* characters for p_go: */ +#define GO_TERMINAL '!' /* use terminal for system commands */ #define GO_ASEL 'a' /* autoselect */ #define GO_ASELML 'A' /* autoselect modeless selection */ #define GO_BOT 'b' /* use bottom scrollbar */ @@ -236,7 +237,7 @@ #define GO_FOOTER 'F' /* add footer */ #define GO_VERTICAL 'v' /* arrange dialog buttons vertically */ #define GO_KEEPWINSIZE 'k' /* keep GUI window size */ -#define GO_ALL "aAbcefFghilmMprtTvk" /* all possible flags for 'go' */ +#define GO_ALL "!aAbcefFghilmMprtTvk" /* all possible flags for 'go' */ /* flags for 'comments' option */ #define COM_NEST 'n' /* comments strings nest */