X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Fbackend%2FTerminalReader.java;h=32033e0b1943c12999621566f96e29f7465cff22;hb=12b90437b5f22c2ae6e9b9b14c3b62b60f6143e5;hp=48e4043f92b34bab0b208bd3e6453e26d5024360;hpb=42873e30bf487bc0b695d60652dba44f82185dbb;p=fanfix.git diff --git a/src/jexer/backend/TerminalReader.java b/src/jexer/backend/TerminalReader.java index 48e4043..32033e0 100644 --- a/src/jexer/backend/TerminalReader.java +++ b/src/jexer/backend/TerminalReader.java @@ -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(); + }