comparison src/ui.c @ 27857:8c8fabf093bb v8.2.4454

patch 8.2.4454: resetting cmdwin_type only for one situation Commit: https://github.com/vim/vim/commit/6a8b13614e5bcb233d20403ae9f008ccba152be3 Author: zeertzjq <zeertzjq@outlook.com> Date: Wed Feb 23 12:23:08 2022 +0000 patch 8.2.4454: resetting cmdwin_type only for one situation Problem: Resetting cmdwin_type only for one situation. Solution: Reset cmdwin_type before closing windows. (closes https://github.com/vim/vim/issues/9822)
author Bram Moolenaar <Bram@vim.org>
date Wed, 23 Feb 2022 13:30:03 +0100
parents 041de9fe95db
children d0241e74bfdb
comparison
equal deleted inserted replaced
27856:cd7dd0a9c09f 27857:8c8fabf093bb
1063 read_error_exit(void) 1063 read_error_exit(void)
1064 { 1064 {
1065 if (silent_mode) // Normal way to exit for "ex -s" 1065 if (silent_mode) // Normal way to exit for "ex -s"
1066 getout(0); 1066 getout(0);
1067 STRCPY(IObuff, _("Vim: Error reading input, exiting...\n")); 1067 STRCPY(IObuff, _("Vim: Error reading input, exiting...\n"));
1068 #ifdef FEAT_CMDWIN
1069 cmdwin_type = 0;
1070 #endif
1071 preserve_exit(); 1068 preserve_exit();
1072 } 1069 }
1073 1070
1074 #if defined(CURSOR_SHAPE) || defined(PROTO) 1071 #if defined(CURSOR_SHAPE) || defined(PROTO)
1075 /* 1072 /*