Re: termcolor-d - Colors with writeln(...);

2018-11-22 Thread Shriramana Sharma via Digitalmars-d-announce
On Wednesday, 21 November 2018 at 18:36:06 UTC, Vladimirs Nordholm wrote: https://github.com/vladdeSV/termcolor-d https://github.com/jamadagni/textattr/ Saw a library recently which allowed you to color text, but it had an odd syntax. Maybe the documentation, in trying to be exhaustive,

Re: termcolor-d - Colors with writeln(...);

2018-11-21 Thread Adam D. Ruppe via Digitalmars-d-announce
On Wednesday, 21 November 2018 at 23:49:29 UTC, Vladimirs Nordholm wrote: However, not sure if it's active anymore, but ConsoleD (by Robik and Adam D. Ruppe) has most Windows specific colors and attributes available. Maybe give that a look? Well, the consoleD part I'm not sure about, but I

Re: termcolor-d - Colors with writeln(...);

2018-11-21 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, Nov 21, 2018 at 11:49:29PM +, Vladimirs Nordholm via Digitalmars-d-announce wrote: > On Wednesday, 21 November 2018 at 23:46:00 UTC, Dennis wrote: > > On Wednesday, 21 November 2018 at 18:36:06 UTC, Vladimirs Nordholm > > wrote: > > > (hackish, POSIX only) > > > > Windows support

Re: termcolor-d - Colors with writeln(...);

2018-11-21 Thread Vladimirs Nordholm via Digitalmars-d-announce
On Wednesday, 21 November 2018 at 23:30:39 UTC, H. S. Teoh wrote: On Wed, Nov 21, 2018 at 06:36:06PM +, Vladimirs Nordholm via Digitalmars-d-announce wrote: [...] Clever idea! Doesn't quite cover all the color features of newer terminals, but good enough for basic coloring on the

Re: termcolor-d - Colors with writeln(...);

2018-11-21 Thread Vladimirs Nordholm via Digitalmars-d-announce
On Wednesday, 21 November 2018 at 23:46:00 UTC, Dennis wrote: On Wednesday, 21 November 2018 at 18:36:06 UTC, Vladimirs Nordholm wrote: (hackish, POSIX only) Windows support coming? :) Maybe during another lunch break ;) However, not sure if it's active anymore, but ConsoleD (by Robik and

Re: termcolor-d - Colors with writeln(...);

2018-11-21 Thread Dennis via Digitalmars-d-announce
On Wednesday, 21 November 2018 at 18:36:06 UTC, Vladimirs Nordholm wrote: (hackish, POSIX only) Windows support coming? :)

Re: termcolor-d - Colors with writeln(...);

2018-11-21 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, Nov 21, 2018 at 06:36:06PM +, Vladimirs Nordholm via Digitalmars-d-announce wrote: > https://github.com/vladdeSV/termcolor-d > > Saw a library recently which allowed you to color text, but it had an > odd syntax. > > Since I already had some code for coloring text in terminals, I

termcolor-d - Colors with writeln(...);

2018-11-21 Thread Vladimirs Nordholm via Digitalmars-d-announce
https://github.com/vladdeSV/termcolor-d Saw a library recently which allowed you to color text, but it had an odd syntax. Since I already had some code for coloring text in terminals, I made this (hackish, POSIX only) project during lunch break. It in action: import std.stdio :