bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#43381: 27.1.50; Maybe wrong cursor FG color in NS port


From: Lars Ingebrigtsen
Subject: bug#43381: 27.1.50; Maybe wrong cursor FG color in NS port
Date: Mon, 14 Sep 2020 01:49:43 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Alan Third <alan@idiocy.org> writes:

> Now you mention it, I can see that the X ports use the face colours as
> well...
>
> xterm.c:1518
>       xgcv.background = s->f->output_data.x->cursor_pixel;
>       xgcv.foreground = s->face->background;
>            ^               ^

Yeah, it looks like it's been like that since at least the 90s.  So...
the documentation is just wrong?

I think it does sound like it would make sense to use the background
colour here for the face colour, though, since that's guaranteed to
stand out against the cursor colour, you'd think.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]