]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0664: MS-Windows: console vim did not switch back to main screen on exit v9.1.0664
authorKen Takata <kentkt@csc.jp>
Wed, 7 Aug 2024 19:18:24 +0000 (21:18 +0200)
committerChristian Brabandt <cb@256bit.org>
Wed, 7 Aug 2024 19:18:24 +0000 (21:18 +0200)
commit568cbc92a6637ef9272490fb0361adb73f158cfc
tree1b0c123bbdf44fa84aee6d06f69f6621fee3b319
parente2d9b0d499d0504ba0e935024daf1cfa12e349c4
patch 9.1.0664: MS-Windows: console vim did not switch back to main screen on exit

Problem:  MS-Windows: console vim did not switch back to main screen on
          exit
Solution: switch back to main screen on exit (Ken Takata)

`vim.exe --cmd quit` quitted without switching back to the main screen
buffer and the alternate screen buffer was kept shown.

Restore the main screen buffer even when termcap mode has not been
started.

closes: #15443

Signed-off-by: Ken Takata <kentkt@csc.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/os_win32.c
src/version.c