We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vim --clean
1001
vim9script def Popup(): number return popup_create([], { border: [1, 1, 1, 1], close: 'click', minheight: 1, maxheight: 10, scrollbar: true, minwidth: &columns - 5, maxwidth: &columns - 5, }) enddef var id = Popup() echo id popup_settext(id, repeat(['abcd'], 20))
:call popup_settext(1001, [])
:call popup_settext(1001, ['a', 'b', 'c'])
The height of the popup does not change at step 4.
I would expect the popup to resize at step 4 to fit the new content. That is what happens if scrolling (step 2) is skipped when performing the above.
9.1.405
macOS 14.4.1 Apple Terminal xterm-256color ZSH 5.9
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Steps to reproduce
vim --clean
1001
)::call popup_settext(1001, [])
. The popup becomes empty and with minimum height.:call popup_settext(1001, ['a', 'b', 'c'])
The height of the popup does not change at step 4.
Expected behaviour
I would expect the popup to resize at step 4 to fit the new content. That is what happens if scrolling (step 2) is skipped when performing the above.
Version of Vim
9.1.405
Environment
macOS 14.4.1
Apple Terminal
xterm-256color
ZSH 5.9
Logs and stack traces
No response
The text was updated successfully, but these errors were encountered: