public void start() {
        consoleReaderThread = new Thread(new Runnable() {
            @Override
            public void run() {
                Scanner sc = new Scanner(System.in);
                
                System.out.println("Press <Enter> to quit.");
                sc.nextLine();

                synchronized(listeners) {
                    for(ConsoleEventListener listener : listeners) {
                        listener.onQuitEvent();
                    }
                }
            }
        });
        
        consoleReaderThread.start();
    }