[Hugs] #35: WinHugs: foreground/background colours not from Windows

Hugs trac at galois.com
Sun Aug 13 10:33:48 EDT 2006


#35: WinHugs: foreground/background colours not from Windows
---------------------+------------------------------------------------------
 Reporter:  neil     |       Owner:  neil  
     Type:  defect   |      Status:  new   
 Priority:  minor    |   Milestone:        
Component:  winhugs  |     Version:  200605
 Keywords:           |  
---------------------+------------------------------------------------------
I just started using the new WinHugs GUI you developed and maintain, and I
 have
 a small issue with its appearance. I usually try to tone down all bright
 colors
 on the desktop, and hence the default window background color on my
 machines
 are not white but some shade of light gray. The issue is then that text
 portions seem to always have a white background while the rest of the
 WinHugs
 window conforms to the global color setting. I attach a window-shot for
 illustration. I suggest that it would be much nicer if the global
 background
 color setting was honored by the written text portion as well.

 ---

 Good point! The issue is to do with escape character, you can
 programatically change the background color of the text by outputting
 some magic, and this means that by default the background gets
 "forced" to white, rather than getting its default setting.

 I think the solution is to interpret white = the users background
 colour, black = the users foreground colour, and honour all other
 colours. I'll hack that up in the next few days and the next release
 should have this fixed.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hugs/ticket/35>
Hugs <http://www.haskell.org/hugs/>
Hugs 98, an interpreter for Haskell


More information about the Hugs-Bugs mailing list