src/lib/concol.h
/*textcol - current text color
backcol - current back color
deftextcol - original text color
defbackcol - original back color*/
current text color
backcol - current back color
deftextcol - original text color
defbackcol - original back color
current text color backcol - current back color deftextcol - original text color defbackcol - original back color
inline void update_colors() {
  CONSOLE_SCREEN_BUFFER_INFO csbi;
  GetConsoleScreenBufferInfo(std_con_out, &csbi);
  textcol = colour(csbi.wAttributes & 15);
  backcol = colour((csbi.wAttributes & 0xf0) >> 4);
}
inline void update_colors ( ) { CONSOLE_SCREEN_BUFFER_INFO csbi ; GetConsoleScreenBufferInfo ( std_con_out , & csbi ) ; textcol = colour ( csbi . wAttributes & 15 ) ; backcol = colour ( ( csbi . wAttributes & 0xf0 ) >> 4 ) ; }
textcol - current text color
backcol - current back color
deftextcol - original text color
defbackcol - original back color
textcol - current text color backcol - current back color deftextcol - original text color defbackcol - original back color