> From: Nala Ginrut <nalagin...@gmail.com> > Cc: guile-u...@gnu.org, guile-devel@gnu.org > Date: Wed, 17 Sep 2014 18:33:50 +0800 > > > Too bad it requires an ANSI-capable terminal, and therefore will not > > work on MS-Windows. > > Oh, I'm not familiar with Windows, what's the solution on it?
You cannot do that from Scheme, I think, you need to call special functions to set foreground and background colors from the C level. This would require Scheme procedures to set console colors of the text, and then your package would need to call them, instead of constructing SGR sequences on the flight. > Or patches welcome. ;-) I'll see what I can do. Thanks.