Add 'src/jexer/' from commit 'cf01c92f5809a0732409e280fb0f32f27393618d'
[fanfix.git] / src / jexer / backend / TerminalReader.java
index 48e4043f92b34bab0b208bd3e6453e26d5024360..32033e0b1943c12999621566f96e29f7465cff22 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,17 @@ 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);
+
+    /**
+     * Reload options from System properties.
+     */
+    public void reloadOptions();
+
 }