April 14, 2013
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
April 14, 2013
On Sunday, 14 April 2013 at 13:37:35 UTC, Carlos wrote:
I got the answer at Ubuntu Forums. I just use write instead of writeln .