public static void main(String[] args)
    {
        final String string = "Hello!";
        Random random = new Random();
        Terminal terminal = new TestTerminalFactory(args).createTerminal();
        terminal.enterPrivateMode();
        terminal.clearScreen();
        TerminalSize size = terminal.getTerminalSize();
        
        while(true) {
            if(terminal.readInput() != null) {
                terminal.exitPrivateMode();
                return;
            }
            
            terminal.applyForegroundColor(random.nextInt(255), random.nextInt(255), random.nextInt(255));
            terminal.applyBackgroundColor(random.nextInt(255), random.nextInt(255), random.nextInt(255));
            terminal.moveCursor(random.nextInt(size.getColumns() - string.length()), random.nextInt(size.getRows()));
            printString(terminal, string);
            
            try {
                Thread.sleep(200);
            }
            catch(InterruptedException e) {
            }
        }
    }