[haiku-development] Changing cursor color behaviour in terminal

  • From: pulkomandy <pulkomandy@xxxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 27 Oct 2010 10:32:25 +0200

Hello,
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 ?

-- 
Adrien.



Other related posts: