Re: How to output ascii character using terminal.d

2015-04-24 Thread Cassio Butrico via Digitalmars-d-learn
On Friday, 24 April 2015 at 22:21:16 UTC, Adam D. Ruppe wrote: Also try cast(dchar) instead of cast(char), that might do what you need. a look at this https://github.com/cassio2014/DIC

Re: How to output ascii character using terminal.d

2015-04-24 Thread Adam D. Ruppe via Digitalmars-d-learn
Also try cast(dchar) instead of cast(char), that might do what you need.

Re: How to output ascii character using terminal.d

2015-04-24 Thread Paul via Digitalmars-d-learn
On Friday, 24 April 2015 at 15:46:15 UTC, Adam D. Ruppe wrote: Try terminal.writef("%s", cast(char) your_ascii_character); it should work. Thank you, it works for the standard ascii characters but not the extended set - maybe that has something to do with my terminal settings...? (not that I

Re: How to output ascii character using terminal.d

2015-04-24 Thread Adam D. Ruppe via Digitalmars-d-learn
Try terminal.writef("%s", cast(char) your_ascii_character); it should work.