1. Getting Console Text and Background Colors

Is there a function to return the text and background colors of the current position on the console?

atom 
   txt = get_text_color(), 
   bkc = get_bk_color() 
 
text_color(txt) 
bk_color(bkc) 
new topic     » topic index » view message » categorize

2. Re: Getting Console Text and Background Colors

euphoric said...

Is there a function to return the text and background colors of the current position on the console?

Yes. It is called "get_screen_char()" from std/console.e

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu