Commit graph

10 commits

Author SHA1 Message Date
yamadapc 7398ee11f1 Fix a bunch of bugs in the cwrite module.
We had problems with format parameters dispatching (`cwritefln` ended up
calling `format` with '\n' as a trailing - orphan - format parameter),
`format` not being imported from `std.string` and an infinitely
recursive template case for the overloaded `cwritef` function.

This also bumps the version to 0.2.1.
2014-07-30 20:12:01 -03:00
yamadapc d0becf6a63 Remove trailing spaces and newlines.
This simply removes trailing spaces and '\n' characters left by p0nce's
contribution of adding windows support.
2014-07-30 14:35:19 -03:00
ponce 57605758d2 2-space indent 2014-07-30 00:29:05 +02:00
ponce 183ee21692 Whitespace tweak. 2014-07-29 23:53:59 +02:00
ponce on vps 4d98f3f9d3 Fix compatibility with linux and 2.065 2014-07-29 23:49:38 +02:00
ponce 8ff025230e fg and bg colours working. There was a problem with changing colors before stdout was ever flushed. 2014-07-29 23:36:46 +02:00
ponce 30f4576db5 Implement colour changing, still not working. 2014-07-29 00:41:50 +02:00
ponce 48444a6fb6 Coloured write now uses WinTermEmulation on Windows.
Basic state machine for parsing ANSI VT100 subset.
2014-07-29 00:20:33 +02:00
ponce 1361fca5d8 Partially implement coloured write/writef/...
Partially implement windows terminal emulation.
2014-07-28 23:55:16 +02:00
ponce 5caf15bd46 Reorganize package as to split in several files (colourize, Windows term emulation, and cprintf functions). 2014-07-28 22:54:08 +02:00