1. How to get current color ?
- Posted by Lee woo seob <wslee at HHI.CO.KR> Sep 04, 1997
- 687 views
Hi all! Is there any one to know how to get current text & back color number in TEXT mode? Euphoria has text_color() & bk_color() command to set the colors, however, does not have get_text_color() or get_bk_color() commands... Thanks in advance! Bye! -- from Lee, woo seob.
2. Re: How to get current color ?
- Posted by Robert B Pilkington <bpilkington at JUNO.COM> Sep 04, 1997
- 681 views
>Is there any one to know how to get current text & back color number >in TEXT mode? >Euphoria has text_color() & bk_color() command to set the colors, >however, does not have get_text_color() or get_bk_color() commands... For the CURRENT color, you can simply update a variable each time you change colors: text_color(4) current_text_color = 4 -- or -- bk_color(var) current_bk_color = var (There are 2 ways for fore and back ground colors :) This is what I am doing in my ANSI terminal, to keep track of the current color. (It still has a couple display problems, but it works O.K.)