How about colors and terminal graphics in std.format?
H. S. Teoh
hsteoh at quickfur.ath.cx
Mon Mar 12 19:17:07 PDT 2012
On Tue, Mar 13, 2012 at 03:02:27AM +0100, Christian Manning wrote:
> On Tuesday, 13 March 2012 at 01:53:11 UTC, Chad J wrote:
> >On 03/12/2012 09:36 PM, Christian Manning wrote:
> >>On Monday, 12 March 2012 at 09:51:08 UTC, Jacob Carlborg wrote:
> >>>
> >>>I think it would nice to have, but not in std.format. std.terminal
> >>>or similar would be better.
> >>
> >>It would be great if an std.terminal contained general stuff for
> >>manipulating/querying a terminal portably, as well as colour output,
> >>eg. get terminal size, move cursor around, erase line... just
> >>things to help with building UIs, progress bars, etc. that are easy
> >>to use.
> >
> >Although this would be cool, it is out of the scope of what I am
> >willing to spend time on.
>
> That's fair enough, I was mostly making a point that both things are
> closely related and would make sense in a common module.
We could start off with said module just doing colors for now, and then
gradually add more stuff to it later.
T
--
Ph.D. = Permanent head Damage
More information about the Digitalmars-d
mailing list