diff options
Diffstat (limited to 'runtime/doc/popup.txt')
-rw-r--r-- | runtime/doc/popup.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/runtime/doc/popup.txt b/runtime/doc/popup.txt index 512299413..dce2a9040 100644 --- a/runtime/doc/popup.txt +++ b/runtime/doc/popup.txt @@ -1,4 +1,4 @@ -*popup.txt* For Vim version 8.2. Last change: 2020 Feb 20 +*popup.txt* For Vim version 8.2. Last change: 2020 Mar 14 VIM REFERENCE MANUAL by Bram Moolenaar @@ -152,6 +152,8 @@ different: *E863* then becomes hidden. - The default Pmenu color is only used for the border and padding. To change the color of the terminal itself set 'wincolor'. +- The default minimal size is 5 lines of 20 characters; Use the "minwidth" and + "minheight" parameters to set a different value. To run a terminal in a popup window, first create the terminal hidden. Then pass the buffer number to popup_create(). Example: > @@ -566,7 +568,8 @@ properties. It is in one of four forms: If you want to create a new buffer yourself use |bufadd()| and pass the buffer number to popup_create(). -It is not possible to use the buffer of a terminal window. *E278* +It is not possible to use the buffer of a terminal window. *E278* You CAN +create a hidden terminal buffer and use that one in a popup window. The second argument of |popup_create()| is a dictionary with options: line Screen line where to position the popup. Can use a |