diff options
author | orbital <orbital@holgerines.de> | 2023-04-02 22:05:13 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-04-02 22:05:13 +0100 |
commit | cde8de034524d00aba4ff4142e658baff511e12d (patch) | |
tree | 3546be90832d785283ee31a4001205b3a0cc892c /src/window.c | |
parent | 065088d5549e7711668321cc5a77c9a9b684b142 (diff) | |
download | vim-git-cde8de034524d00aba4ff4142e658baff511e12d.tar.gz |
patch 9.0.1439: start Insert mode when accessing a hidden prompt bufferv9.0.1439
Problem: Start Insert mode when accessing a hidden prompt buffer.
Solution: Call leaving_window() in aucmd_restbuf(). (Thorben Tröbst,
closes #12148, closes #12147)
Diffstat (limited to 'src/window.c')
-rw-r--r-- | src/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c index a967f9217..3405285c0 100644 --- a/src/window.c +++ b/src/window.c @@ -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. |