]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.0710: quitting/unloading/hiding a terminal does not work properly v9.0.0710
authorYee Cheng Chin <ychin.git@gmail.com>
Mon, 10 Oct 2022 10:46:16 +0000 (11:46 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 10 Oct 2022 10:46:16 +0000 (11:46 +0100)
commit4282633ba63f6e11f2fe42c4b7758dace184f30d
tree529b9b35b2358aa7247ad4029348dabaaffc0262
parentf167c7b42476f8ab5b32c3c5ccbdca914316e96b
patch 9.0.0710: quitting/unloading/hiding a terminal does not work properly

Problem:    Quitting/unloading/hiding a terminal buffer does not always work
            properly.
Solution:   Avoid that ":q!" leaves an empty buffer behind.  ":bunload!" also
            kills the job and unloads the buffer.  ":hide" does not unload the
            buffer. (Yee Cheng Chin, closes #11323)
runtime/doc/terminal.txt
src/buffer.c
src/testdir/test_terminal.vim
src/version.c