Read an integer after prompting with the given prompt.
Read an integer after prompting with the given prompt. Throws a number format exception if something that is not an integer is entered.
Read a line under controlled conditions.
Read a line under controlled conditions. Need to do this since console is a shared static resource. In particular, it's shared with sbt if run in that context.
The reader to use to access the console.
Return a handle for the current terminal.
A console that provides line editing using JLine. This code follows sbt's equivalent code to try to ensure that there are no incompatibilities.