package jexer.backend;
import java.util.List;
+
import jexer.event.TInputEvent;
import jexer.io.Screen;
import jexer.session.SessionInfo;
* Subclasses must provide an implementation to get keyboard, mouse, and
* screen resize events.
*
- * @param timeout maximum amount of time to wait for an event
+ * @param timeout maximum amount of time (in millis) to wait for an
+ * event. 0 means to return immediately, i.e. perform a poll.
* @return events received, or an empty list if the timeout was reached
*/
abstract public List<TInputEvent> getEvents(int timeout);