Hi, On Mon, Mar 28, 2022 at 12:17 PM bfrg <[email protected]> wrote:
> I noticed when I first go to terminal-normal mode with <c-w>N before > typing :h <tab>, everything is fine. > > It seems to be related to my bash prompt. Can you reproduce it with a bash > prompt that spans two lines? > > For example: > > export PS1="\u@\h in \w\n$ " > > > I am able to reproduce the problem on Ubuntu by adding one or two dummy echo lines to the .bashrc file. The attached patch fixes this problem. In the failing case, the pum_display() function computes the context_lines as 2. In the working case, the context_lines is set to 0. I am not sure whether the changes in the attached patch is the correct way to fix this issue. - Yegappan -- -- 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/CAAW7x7kFU2HbYpfCWtmnZnbqNtyR6Dq28k%3D45g8VtBWNrfLRTQ%40mail.gmail.com.
pumpos.diff
Description: Binary data
