Christian wrote:

> On Mo, 18 Sep 2017, Bram Moolenaar wrote:
> 
> > Seems you run into a bug.  I don't see these problems.  Try these
> > commands:
> > 
> >     amenu WinBar.Next :echo 'next'<CR>
> >     amenu WinBar.Prev :echo 'prev'<CR>
> >     amenu WinBar.Cont :echo 'cont'<CR>
> > 
> 
> So WinBar is the important part?

Yep, similar to using Toolbar.

> > Don't you get a window toolbar right away?
> > Perhaps some plugin is interfering?
> 
> No. Try this:
> 
> vim --clean -c 'packadd termdebug' -c 'Termdebug'
> 
> Note, the main window is empty and no toolbar is drawn.
> 
> Note also, the cmdheight seems to be 2, but is actually only 1.

I cannot reproduce this.  I checked that I don't have any local changes
that were not in a patch.

> The toolbar isn't drawn on neither tmux inside a putty term, 
> gnome-terminal nor gvim

I tried gnome-terminal, works.

> Toolbar will be drawn as soon as you press 'o' in the main window to 
> enter a new line in insert mode. Also the toolbar vanishes as soon as 
> you press <c-l> or type :redraw!
> 
> If you have a file open in the main window, press 'j' until Vim scrolls 
> down. Then the toolbar will be drawn. Press k to go up again. When Vim 
> starts to scroll upward, the toolbar will remain at its current position 
> and not be drawn at the new top line.
> 
> Version is 8.0.1127

That's the latest.  I have no clue...

-- 
Send $25.00 for handy leaflet on how to make money by selling leaflets

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            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].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui