comparison runtime/doc/popup.txt @ 19457:b70fbf3f0e0b v8.2.0286

patch 8.2.0286: cannot use popup_close() for a terminal popup Commit: https://github.com/vim/vim/commit/11ec807639ae642bf55da883918489e2cd9911ab Author: Bram Moolenaar <Bram@vim.org> Date: Thu Feb 20 20:12:29 2020 +0100 patch 8.2.0286: cannot use popup_close() for a terminal popup Problem: Cannot use popup_close() for a terminal popup. Solution: Allow using popup_close(). (closes https://github.com/vim/vim/issues/5666)
author Bram Moolenaar <Bram@vim.org>
date Thu, 20 Feb 2020 20:15:04 +0100
parents 7be3663e2f2b
children bceeded72898
comparison
equal deleted inserted replaced
19456:c35caa98fe6a 19457:b70fbf3f0e0b
1 *popup.txt* For Vim version 8.2. Last change: 2020 Feb 05 1 *popup.txt* For Vim version 8.2. Last change: 2020 Feb 20
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
146 A special case is running a terminal in a popup window. Many rules are then 146 A special case is running a terminal in a popup window. Many rules are then
147 different: *E863* 147 different: *E863*
148 - The popup window always has focus, it is not possible to switch to another 148 - The popup window always has focus, it is not possible to switch to another
149 window. 149 window.
150 - When the job ends, the popup window closes. 150 - When the job ends, the popup window closes.
151 - The popup window can be closed with `popup_close()`, the terminal buffer
152 then becomes hidden.
151 - The default Pmenu color is only used for the border and padding. To change 153 - The default Pmenu color is only used for the border and padding. To change
152 the color of the terminal itself set 'wincolor'. 154 the color of the terminal itself set 'wincolor'.
153 155
154 To run a terminal in a popup window, first create the terminal hidden. Then 156 To run a terminal in a popup window, first create the terminal hidden. Then
155 pass the buffer number to popup_create(). Example: > 157 pass the buffer number to popup_create(). Example: >