How to get backspace \\b to work in Eclipse's console?

走远了吗. 提交于 2019-11-26 14:40:56

Eclipse Bug #76936. I wouldn't count on them to fix it, and there are no workarounds listed.

You might have luck finding a plugin that contributes a more advanced console.

Well, it's true you can't use backspace \b to remove the displayed progress, but you could remove it by clearing the console with a loop calling println. Of course this kluge won't clear your log file!

Fixed, Eclipse Mars.

Note, I wouldn't use it to do constant updating, as the eclipse console lags.

use: System.out.print("\b ") inside the while loop, instead of System.out.print('\b');

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!