summaryrefslogtreecommitdiff
path: root/src/event_manager.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2016-11-29 21:35:53 +0000
committerMaxime Coste <frrrwww@gmail.com>2016-11-29 21:59:36 +0000
commit3a81260917319e15b13e4f09dd9bc38f0b72b194 (patch)
treef79d0cf3c7546f217281e9112b635096af57d507 /src/event_manager.hh
parent2fd1414b051cc95d0e0a4cd8c983c92408e67ac8 (diff)
Simplify greatly UI input handling
This round trip through an input callback expected to call is_key_available and get_key was overcomplicated, just send the keys as they arrive, the client is already buffering due to urgent event mode.
Diffstat (limited to 'src/event_manager.hh')
-rw-r--r--src/event_manager.hh1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/event_manager.hh b/src/event_manager.hh
index 49edb1af..5121b324 100644
--- a/src/event_manager.hh
+++ b/src/event_manager.hh
@@ -18,7 +18,6 @@ enum class EventMode
{
Normal,
Urgent,
- Pending
};
class FDWatcher