5 ms·
You can't reproduce the issue with the information he gave. He doesn't tell what operating system, terminal, java version, etc he is using. Most likely his pro
by exDM69 13y ago
You can't reproduce the issue with the information he gave. He doesn't tell what operating system, terminal, java version, etc he is using.
Most likely his problem is due to his terminal (my guess: cmd.exe/powershell in Windows) and not his program code at all.
FWIW here's my non-reproduction of his problem, on Linux amd64, Sun Java 1.6.0, running in urxvt:
real 0m3.568s
user 0m0.616s
sys 0m1.152s
real 0m3.393s
user 0m0.648s
sys 0m1.060s
In other words, I could not reproduce the issue with the information he provided.
- ygra 13y agoNeither cmd, nor PowerShell are the console host (which would be doing things like outputting text in a character grid), so they're both very far removed from the problem. Heck, when a console program is running it doesn't even need a shell, nor does the parent shell (if there is one) even know when the program outputs text.