comparison src/term.h @ 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 6e3dc2d630c2
children d4b2a8675b78
comparison
equal deleted inserted replaced
20436:d64dba8d8a9d 20437:3bb4dea4a164
207 #define T_CST (TERM_STR(KS_CST)) // save window title 207 #define T_CST (TERM_STR(KS_CST)) // save window title
208 #define T_CRT (TERM_STR(KS_CRT)) // restore window title 208 #define T_CRT (TERM_STR(KS_CRT)) // restore window title
209 #define T_SSI (TERM_STR(KS_SSI)) // save icon text 209 #define T_SSI (TERM_STR(KS_SSI)) // save icon text
210 #define T_SRI (TERM_STR(KS_SRI)) // restore icon text 210 #define T_SRI (TERM_STR(KS_SRI)) // restore icon text
211 211
212 #define TMODE_COOK 0 // terminal mode for external cmds and Ex mode 212 #define TMODE_COOK 0 // terminal mode for external cmds and Ex mode
213 #define TMODE_SLEEP 1 // terminal mode for sleeping (cooked but no echo) 213 #define TMODE_SLEEP 1 // terminal mode for sleeping (cooked but no echo)
214 #define TMODE_RAW 2 // terminal mode for Normal and Insert mode 214 #define TMODE_RAW 2 // terminal mode for Normal and Insert mode
215 #define TMODE_UNKNOWN 9 // after executing a shell