This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
this bug relating to output window has been closed a couple of times, but I see the same broken behavior in 7.4 now. System.out.print("HOHOHO\rHAHAHA\n"); output: run: HOHOHO HAHAHA HOHOHO HAHAHA BUILD SUCCESSFUL (total time: 0 seconds)
i meant that line twice: System.out.print("HOHOHO\rHAHAHA\n"); System.out.print("HOHOHO\rHAHAHA\n");
Created attachment 143154 [details] Possible fix Patch that adds support for CR characters. The patch seems to work quite fine, but I'll have to test it a little. I'm afraid that some users might rely on the current behavior, and the patch could cause some trouble, although no modern system should use CR as line separator. Have you considered ANSI sequence \u001B[2K instead of CR? It works similarly, should work on most systems, and is already supported in NetBeans: System.out.println("HOHOHO\u001B[2KHAHAHA"); Thank you for reporting.
The patch was integrated as http://hg.netbeans.org/core-main/rev/c26ddc99cc53. Please verify the fix. Thank you.
*** Bug 217328 has been marked as a duplicate of this bug. ***