> ### Steps to reproduce
>
> Run `vim --clean -S test.vim`, with
> ```vim
> vim9script
>
> writefile(range(100), '/tmp/testfile')
>
> term_start(['cat', '/tmp/testfile'], {hidden: true})
> ->popup_create({
> minwidth: 80,
> maxwidth: 80,
> minheight: 10,
> maxheight: 10,
> scrollbar: true,
> border: []
> })
> ```
>
> ### Expected behaviour
>
> I would have expected to see a scrollbar just like when a regular
> buffer is displayed in a popup window.
Yes, but it can only appear after the terminal job has finished.
Patch 8.2.5038 makes this work. I also had to fix scrolling by clicking
in the scrollbar.
> On the other hand, `:h popup-terminal` says:
> ```
> - When the job ends, the popup window closes.
> ```
> which doesn't occur here.
>
> I think that keeping the popup window open after the job ends can be
> useful and should therefore be kept as it is right now.
I think that is a documentation error, I'll adjust the help.
--
GUARD #1: What, ridden on a horse?
ARTHUR: Yes!
GUARD #1: You're using coconuts!
ARTHUR: What?
GUARD #1: You've got two empty halves of coconut and you're bangin' 'em
together.
The Quest for the Holy Grail (Monty Python)
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20220529160347.CD5C91C1929%40moolenaar.net.