comparison src/os_win32.c @ 20437:3bb4dea4a164 v8.2.0773

patch 8.2.0773: switching to raw mode every time ":" is used Commit: https://github.com/vim/vim/commit/3b1f18f785f67c6cd110498c366e4d0c0fe11f27 Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 16 23:15:08 2020 +0200 patch 8.2.0773: switching to raw mode every time ":" is used Problem: Switching to raw mode every time ":" is used. Solution: When executing a shell set cur_tmode to TMODE_UNKNOWN, so that the next time TMODE_RAW is used it is set, but not every time.
author Bram Moolenaar <Bram@vim.org>
date Sat, 16 May 2020 23:30:03 +0200
parents f2e4c12b24b3
children d4b2a8675b78
comparison
equal deleted inserted replaced
20436:d64dba8d8a9d 20437:3bb4dea4a164
4897 } 4897 }
4898 } 4898 }
4899 } 4899 }
4900 4900
4901 if (tmode == TMODE_RAW) 4901 if (tmode == TMODE_RAW)
4902 {
4903 // The shell may have messed with the mode, always set it.
4904 cur_tmode = TMODE_UNKNOWN;
4902 settmode(TMODE_RAW); // set to raw mode 4905 settmode(TMODE_RAW); // set to raw mode
4906 }
4903 4907
4904 // Print the return value, unless "vimrun" was used. 4908 // Print the return value, unless "vimrun" was used.
4905 if (x != 0 && !(options & SHELL_SILENT) && !emsg_silent 4909 if (x != 0 && !(options & SHELL_SILENT) && !emsg_silent
4906 #if defined(FEAT_GUI_MSWIN) 4910 #if defined(FEAT_GUI_MSWIN)
4907 && ((gui.in_use || gui.starting) ? 4911 && ((gui.in_use || gui.starting) ?