vim --clean testpopup.vim
let opt = { \ 'hidden': 1, \ 'term_finish': 'close', \ } let bufnr = term_start(['/bin/bash'], opt) let opts = { \ 'title': 'term in popup', \ 'border': [1, 1, 1, 1], \ 'opacity': 10, \ } let winid = popup_create(bufnr, opts)
:source %
Omitting the opacity option or setting it to 100 allow the expected behaviour.
Additional information:
If I don't use --clean to use my .vimrc that set some Pmenu* highlight, I can sometime see the border flickering at the bottom right of the popup when vim is not responding.
the border switch between
╔term in popup═══════╗ ║ ║ ║ ║ ╚════════════════════╝
and
╔term in popup═══════╗ ║ ║ ║ ║ ╚═════════════════════
Open a popup that allow to type into the terminal without freezing.
vim 9.2.0437
Operating system: mageia cauldron
Terminal: Konsole
Value of $TERM: konsole-256color
Shell: bash-5.3
also reproduced with gvim 9.2.0437 from my distribution and the latest Vim-v9.2.0478.glibc2.34-x86_64.AppImage
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.![]()