private static boolean haveTTY() {
		if (Files.isReadable(TTY)) {
			try (InputStream is = Files.newInputStream(TTY)) {
				return true;
			} catch (IOException e) {
				// Ignore
			}
		}
		return false;
	}
Returns a regular ConsoleInput based upon System.in
src/main/java/dev/jbang/util/ConsoleInput.java