You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The popup window returned by popup_dialog() is drawn wider than it needs to be. The window width depends on the number of characters in showbreak.
The more characters are added to showbreak, the wider the popup dialog window gets, and eventually exceed the window width. Only by passing the popup window option {'wrap': v:false} to popup_dialog() will draw the dialog correctly.
Expected behavior
The width of the dialog window should not be drawn wider than the text displayed inside it.
Screenshots
let &showbreak='+'
let &showbreak='++'
let &showbreak='+++'
let &showbreak='+++'`
" Pass {'wrap': v:false} to popup_dialog()
Environment
Vim version 8.1.1714
Gentoo Linux
xfce4-terminal
The text was updated successfully, but these errors were encountered:
Describe the bug
The popup window returned by
popup_dialog()
is drawn wider than it needs to be. The window width depends on the number of characters inshowbreak
.To Reproduce
vim --clean tmp.vim -c "source tmp.vim"
showbreak
, the wider the popup dialog window gets, and eventually exceed the window width. Only by passing the popup window option{'wrap': v:false}
topopup_dialog()
will draw the dialog correctly.Expected behavior
The width of the dialog window should not be drawn wider than the text displayed inside it.
Screenshots
Environment
8.1.1714
The text was updated successfully, but these errors were encountered: