On Tue, Aug 4, 2020 at 8:01 PM Bram Moolenaar <[email protected]> wrote:
>
>
> Tony wrote:
>
> > According to ":h +builtin_terms", there are no builtin terminals in
> > Tiny or Small (I think this is a documentation error), some in Normal,
> > and all in Big and Huge. The following, however, is what ":set
> > term=xxx" gives me in Console mode in each build:
> >
> > Tiny with no GUI:
> > builtin_ansi
> > builtin_xterm
> > builtin_iris-ansi
> > builtin_dumb
> >
> > Small with Motif GUI:
> > builtin_gui
> > builtin_ansi
> > builtin_xterm
> > builtin_iris-ansi
> > builtin_dumb
> >
> > Normal with GTK3 GUI:
> > builtin_gui
> > builtin_ansi
> > builtin_xterm
> > builtin_iris-ansi
> > but for some reason not builtin_dumb
> >
> > Big with GTK3 GUI, compiled with -terminal:
> > Huge with GTK3 GUI, compiled with +terminal: both say:
> > builtin_gui
> > builtin_amiga
> > builtin_ansi
> > builtin_pcansi
> > builtin_win32
> > builtin_vt320
> > builtin_vt52
> > builtin_xterm
> > builtin_iris-ansi
> > builtin_debug
> > Neither here is there builtin_dumb. Trying to set it works however
> > (and is ugly but that was to be expected).
>
> Do you perhaps have 'cmdheight' set to 2? These messages are written
> with printf(), the following error is written in another way, and
> because of the terminal being invalid at the time, the cursor is
> repositioned. I can fix that.
Yes indeed, I have 'cmdheight' set to 2, but not in Tiny and Small
because it's in an :if statement (which they treat as nestable
comment), as follows:
if exists('+cmdheight') && (&ch < 2)
set ch=2
endif
Thanks! I had no idea that _that_ was the problem.
Best regards,
Tony.
--
--
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/CAJkCKXvvGCgsU_eKMD0YDqrqOzKoPH2Qfdh8UWAKScP-AxYM3A%40mail.gmail.com.