I am interested in creating a text-based game in Java and am wondering how I would replicate the common server console (ie: nogui server mode in the minecraft-server for example) - as in there is always a line at the bottom of the console for input, and everything else above it is output which can be written to asynchronously.
How would I get started on this? I am unfamiliar with the terminology regarding this sort of stuff and also what libraries to use to begin with.