diff options
| author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-03-29 22:33:53 -0300 |
|---|---|---|
| committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-03-31 08:07:47 -0300 |
| commit | ab61c2caa71d952d52ebede8b0f4532542251edb (patch) | |
| tree | e1ce2e0af65b05e858d4ed9ab8ca209fc2315d33 /src/os | |
| parent | 206a38871f8249da308191f5d84b17a97e64b92e (diff) | |
| download | rneovim-ab61c2caa71d952d52ebede8b0f4532542251edb.tar.gz rneovim-ab61c2caa71d952d52ebede8b0f4532542251edb.tar.bz2 rneovim-ab61c2caa71d952d52ebede8b0f4532542251edb.zip | |
Rewrite `show_shell_mess` as a `ShellOpts` flag
Diffstat (limited to 'src/os')
| -rw-r--r-- | src/os/shell.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/os/shell.h b/src/os/shell.h index 8cee4b8a90..6da43a863b 100644 --- a/src/os/shell.h +++ b/src/os/shell.h @@ -7,13 +7,14 @@ // Flags for mch_call_shell() second argument typedef enum { - kShellOptFilter = 1, // filtering text - kShellOptExpand = 2, // expanding wildcards - kShellOptCooked = 4, // set term to cooked mode - kShellOptDoOut = 8, // redirecting output - kShellOptSilent = 16, // don't print error returned by command - kShellOptRead = 32, // read lines and insert into buffer - kShellOptWrite = 64 // write lines from buffer + kShellOptFilter = 1, // filtering text + kShellOptExpand = 2, // expanding wildcards + kShellOptCooked = 4, // set term to cooked mode + kShellOptDoOut = 8, // redirecting output + kShellOptSilent = 16, // don't print error returned by command + kShellOptRead = 32, // read lines and insert into buffer + kShellOptWrite = 64, // write lines from buffer + kShellOptHideMess = 128, // previously a global variable from os_unix.c } ShellOpts; char ** shell_build_argv(char_u *cmd, char_u *extra_shell_arg); |