mirror of
https://github.com/neovim/neovim.git
synced 2025-09-09 21:08:17 +00:00
shell: Remove kShellOptCooked from ShellOpts
This commit is contained in:
@@ -918,7 +918,7 @@ void ex_diffpatch(exarg_T *eap)
|
||||
#endif // ifdef UNIX
|
||||
// Avoid ShellCmdPost stuff
|
||||
block_autocmds();
|
||||
(void)call_shell(buf, kShellOptFilter | kShellOptCooked, NULL);
|
||||
(void)call_shell(buf, kShellOptFilter, NULL);
|
||||
unblock_autocmds();
|
||||
}
|
||||
|
||||
|
@@ -1097,7 +1097,7 @@ do_filter (
|
||||
*/
|
||||
if (call_shell(
|
||||
cmd_buf,
|
||||
kShellOptFilter | kShellOptCooked | shell_flags,
|
||||
kShellOptFilter | shell_flags,
|
||||
NULL
|
||||
)) {
|
||||
redraw_later_clear();
|
||||
@@ -1253,7 +1253,7 @@ do_shell (
|
||||
if (!swapping_screen())
|
||||
windgoto(msg_row, msg_col);
|
||||
cursor_on();
|
||||
(void)call_shell(cmd, kShellOptCooked | flags, NULL);
|
||||
(void)call_shell(cmd, flags, NULL);
|
||||
did_check_timestamps = FALSE;
|
||||
need_check_timestamps = TRUE;
|
||||
|
||||
|
@@ -7,12 +7,11 @@
|
||||
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
|
||||
kShellOptHideMess = 128, ///< previously a global variable from os_unix.c
|
||||
kShellOptDoOut = 4, ///< redirecting output
|
||||
kShellOptSilent = 8, ///< don't print error returned by command
|
||||
kShellOptRead = 16, ///< read lines and insert into buffer
|
||||
kShellOptWrite = 32, ///< write lines from buffer
|
||||
kShellOptHideMess = 64, ///< previously a global variable from os_unix.c
|
||||
} ShellOpts;
|
||||
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
|
Reference in New Issue
Block a user