On Di, 30 Jan 2024, John Marriott wrote:

> After this patch I am getting some weird results in my console version of
> vim on HP-UX (old I know!).
> 
> Here is an example of line selection (shift-v) with version 9.1.0060, prior
> to this change (vim started with vim --clean):
> 
> 
> Here is the same after the patch (again vim started with vim --clean):
> 
> 
> You can see the bulk of the highlight is not visible, just a little reverse
> video at the two line ends.

That is very strange what Terminal is this and how many colors does it 
support?  Can you check the output of :hi Visual for both versions?

> Any ideas of what I can do to restore the previous behaviour with this
> patch?

You can setup a custom Visual highlighting group. It depends a bit on 
your terminal and how many colors it can display.

For a dark background with more than 8 colors:
:hi Visual term=reverse cterm=NONE ctermbg=DarkGrey guibg=DarkGrey
For a light background with more than 8 colors:
:hi Visual term=reverse cterm=NONE ctermbg=LightGrey guibg=LightGrey

Or just use the values that you received from the :hi Visual before the 
patch.


Thanks
Christian
-- 
Today is National Existential Ennui Awareness Day.

-- 
-- 
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/Zbf97FboUSFO2xri%40256bit.org.

Raspunde prin e-mail lui