#"\033c" clear screen command on CMD not working properly

3 messages · Page 1 of 1 (latest)

lost sonnet
#

I'm making a small assignment that involves clearing CMD using Java. I've pretty much used all ASCII escape character thingy and ALL of them prints "<-c 500" instead of clearing the console THEN printing 500.

Is it because I'm on Windows10? My classmate's HW was able to clear screen using \033c using Windows 11?
Thanks guys!

hot fiberBOT
#

This post has been reserved for your question.

Hey @lost sonnet! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.