comparison src/term.c @ 20450:d5d89c24eec7 v8.2.0779

patch 8.2.0779: tmode_T not used everywhere Commit: https://github.com/vim/vim/commit/f4e16ae041962555316a6953df30a45f4c45be6a Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 17 16:10:11 2020 +0200 patch 8.2.0779: tmode_T not used everywhere Problem: Tmode_T not used everywhere. Solution: Also use tmode_T for settmode().
author Bram Moolenaar <Bram@vim.org>
date Sun, 17 May 2020 16:15:04 +0200
parents d4b2a8675b78
children 03826c672315
comparison
equal deleted inserted replaced
20449:3f2560fc4bbc 20450:d5d89c24eec7
3434 /* 3434 /*
3435 * Set the terminal to TMODE_RAW (for Normal mode) or TMODE_COOK (for external 3435 * Set the terminal to TMODE_RAW (for Normal mode) or TMODE_COOK (for external
3436 * commands and Ex mode). 3436 * commands and Ex mode).
3437 */ 3437 */
3438 void 3438 void
3439 settmode(int tmode) 3439 settmode(tmode_T tmode)
3440 { 3440 {
3441 #ifdef FEAT_GUI 3441 #ifdef FEAT_GUI
3442 // don't set the term where gvim was started to any mode 3442 // don't set the term where gvim was started to any mode
3443 if (gui.in_use) 3443 if (gui.in_use)
3444 return; 3444 return;