# HG changeset patch # User Bram Moolenaar # Date 1645619403 -3600 # Node ID 8c8fabf093bb868622bdab2e795be4a30224e897 # Parent cd7dd0a9c09fdfb031692152a2f14c5761a6ecfc patch 8.2.4454: resetting cmdwin_type only for one situation Commit: https://github.com/vim/vim/commit/6a8b13614e5bcb233d20403ae9f008ccba152be3 Author: zeertzjq 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) diff --git a/src/testdir/test_exit.vim b/src/testdir/test_exit.vim --- a/src/testdir/test_exit.vim +++ b/src/testdir/test_exit.vim @@ -119,6 +119,7 @@ func Test_exit_error_reading_input() call writefile([":au VimLeave * call writefile(['l = ' .. v:exiting], 'Xtestout')", ":tabnew", "q:"], 'Xscript', 'b') if RunVim([], [], 'tp_next != NULL) tabpage_close(TRUE);