After updating to the latest Vim, 9.0.0984, and starting Vim in
a terminal without a file specified, the command line font was
extremely tiny. (I'd estimate the font size to be 4 points.) If
a file was opened from the command line, its font in the buffer was
also tiny. Subsequent commands typed in the command line were of
the expected font. The font in the buffer remained tiny until ^L
was typed.
Bisecting my vimrc and my usual color scheme plugin revealed the
command causing the tiny font to be
:set bg&
and bisecting the git commits showed the bad commit to be
733a69b29f0b0c3d2ddca463a41bdd912379bc5e, tag v9.0.0980.
Steps to reproduce
1. vim -N -u NONE -i NONE --cmd 'set bg&'
2. Type a colon (:) and note that it is in a very tiny font.
3. Continue typing the ex command to edit some file, e.g.,
":e feature.h". Note that the file is displayed in the buffer
in the same tiny font.
Expected behavior
I expect Vim to use the same 11-pt font it normally uses, as set in
the terminal's preferences.
Version of Vim
9.0.0980 and 9.0.0984
Environment
Operating system: Cygwin version 3.3.6-1 (latest as of 2022-12-01)
on Windows 10 Pro version 22H2
Terminal: mintty version 3.6.2-1 (also latest as of 2022-12-01)
Value of $TERM: xterm-256color
Shell: bash version 4.4.12-3
Additional Context
During the git bisect, each version of Vim was built with these
commands:
$ make distclean
$ make
No environment variables were set to affect the build.
Regards,
Gary
--
--
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/20221202021937.GB16317%40phoenix.