Prep for 2019 release
[nikiroo-utils.git] / src / jexer / backend / TerminalReader.java
index 48e4043f92b34bab0b208bd3e6453e26d5024360..8edadbf4c015ea104beded27c0134c80223ce0a3 100644 (file)
@@ -3,7 +3,7 @@
  *
  * The MIT License (MIT)
  *
- * Copyright (C) 2017 Kevin Lamonte
+ * Copyright (C) 2019 Kevin Lamonte
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -58,4 +58,12 @@ public interface TerminalReader {
      */
     public void closeTerminal();
 
+    /**
+     * Set listener to a different Object.
+     *
+     * @param listener the new listening object that run() wakes up on new
+     * input
+     */
+    public void setListener(final Object listener);
+
 }