April 14, 2013 Preventing a new line while printing text on the commandline | ||||
---|---|---|---|---|
| ||||
So I have this : import std.stdio; import std.c.stdlib; void main() { writeln("\033c"); exit (0); } but the program prints a new line wich is not desired in this case. I want to prevent the new line so it prints the working directory line only. I'm using Ubuntu Linux |
Copyright © 1999-2021 by the D Language Foundation