public void start() {
    executorService.execute(this::readerThread);
    executorService.execute(this::generatorThread);
  }
This generates {@link KeyPress} objects from the given input stream and offers them to the given
queue.
hbase-hbtop/src/main/java/org/apache/hadoop/hbase/hbtop/terminal/impl/KeyPressGenerator.java