[Mono-list] Tabs not shown after ReadLine()
Garfield2
mmueller12345 at yahoo.de
Sun Nov 23 15:42:22 EST 2008
Hey there,
when I compile this one under Linux and start in in gnome-terminal or xterm,
I've got a space where I placed the "\t"
--8<--
using System;
class MainClass
{
public static void Main(string[] args)
{
Console.WriteLine("X"+"\t"+"X");
}
}
-->8--
fine.
But when I add a ReadLine in front of it, I've got no space... strange, uh?
--8<--
using System;
class MainClass
{
public static void Main(string[] args)
{
Console.ReadLine(); //!
Console.WriteLine("X"+"\t"+"X");
}
}
-->8--
But in fact the Tab is printed:
-->8--
$ gmcs Main.cs && ./Main.exe | hexdump
0000000 0958 0a58
0000004
--8<--
(Note the 0x09)
So.. I've actually no idea why this doesn't work... Ideas, anyone?
Thanks!
--
View this message in context: http://www.nabble.com/Tabs-not-shown-after-ReadLine%28%29-tp20650531p20650531.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list