term: colors on Windows console

* isConsole moved to builtin is_atty function
* Windows console initialization moved to builtin.init
This commit is contained in:
vitalyster 2019-10-10 20:08:36 +03:00 committed by Alexander Medvednikov
parent de36b61931
commit e64609387d
7 changed files with 34 additions and 44 deletions

View file

@ -151,9 +151,6 @@ byteptr g_str_buf;
int load_so(byteptr);
void reload_so();
void init_consts();
#ifdef _WIN32
BOOL isConsole;
#endif
'
js_headers = '