So I am working on a http server app thing, and I need to make a inbuilt shell for some stuff (like minecraft). I tried a lot with jline but cannot get a proper prompt without the logs messing up the prompt input. Here's what I want:
- The prompt to disappear as the app logs something
- Then the prompt appears again
- But doesn't remove whatever I typed in the prompt
I am using log4j2 for the logging framework.