Use JLine to support more advanced console input.