@Override
    public void run() {
        while(running) {
            System.out.print("eva < ");
            if(scanner.hasNextLine()) {
                String input = scanner.nextLine();
                emit(new Event(EventType.INPUT, this, input));
            }
        }
    }