1
0
forked from aniani/vim

patch 9.0.1439: start Insert mode when accessing a hidden prompt buffer

Problem:    Start Insert mode when accessing a hidden prompt buffer.
Solution:   Call leaving_window() in aucmd_restbuf(). (Thorben Tröbst,
            closes #12148, closes #12147)
This commit is contained in:
orbital
2023-04-02 22:05:13 +01:00
committed by Bram Moolenaar
parent 065088d554
commit cde8de0345
5 changed files with 46 additions and 2 deletions

View File

@@ -2292,7 +2292,7 @@ win_equal_rec(
}
#ifdef FEAT_JOB_CHANNEL
static void
void
leaving_window(win_T *win)
{
// Only matters for a prompt window.