[haiku-development] Re: Changing cursor color behaviour in terminal

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 27 Oct 2010 19:14:54 +0200

On 2010-10-27 at 10:32:25 [+0200], pulkomandy 
<pulkomandy@xxxxxxxxxxxxxxxxx> wrote:
> I'm considering a change to Terminal to make the cursor color selected
> differently.
> Currently, the cursor background and text colors are fixed in the
> preference panel. The problem with that is I use different curses and
> other textmode apps, some of themwith a white background, and some with
> a black one. This means if I set my cursor to white, I can see it in
> some apps, but not others, and vice versa.
> 
> I think it would be simpler to make the cursor reverse the color of the
> char it's highlighting. This way, it would always be visible. This means
> one lose the ability to set the cursor color to something more flashy to
> better see the cursor.
> 
> I came to the conclusion that the color should be user-settable, but the
> cursor should always blink between the selected color and it's
> complementary. I'm not sure which color is used for blinking the cursor
> right now, but it seems to be strangely chosen.
> 
> What's your opinion on this ? Any other ideas on how it should work ?

I know, others feel differently, but to be honest, just like the whole 
terminal color theming, I find a setting for the cursor color useless 
clutter. Inverting would work fine, I guess. Picking a fixed contrasty 
color depending on the background (like black on light backgrounds and 
white on dark ones) would be another option.

CU, Ingo

Other related posts: