diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-03-16 20:46:58 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-03-16 20:46:58 +0100 |
commit | 135682517bc378cfdb63fe3a6e3553935f69f6ce (patch) | |
tree | 5fa4aaca6a81a5f0b88c1e1da730f74e24acde42 /src/option.h | |
parent | 43cb6262141c0a0853680bd8d0433e04db3bf182 (diff) | |
download | vim-git-135682517bc378cfdb63fe3a6e3553935f69f6ce.tar.gz |
patch 8.0.1609: shell commands in the GUI use a dumb terminalv8.0.1609
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.
Diffstat (limited to 'src/option.h')
-rw-r--r-- | src/option.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/option.h b/src/option.h index 09c044ecd..d2ee54534 100644 --- 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 */ |