Various minor bug cleanups.
This commit is contained in:
@@ -11,19 +11,19 @@
|
||||
|
||||
class TerminalInputHandler final : public InputHandler {
|
||||
public:
|
||||
TerminalInputHandler();
|
||||
TerminalInputHandler();
|
||||
|
||||
~TerminalInputHandler() override;
|
||||
~TerminalInputHandler() override;
|
||||
|
||||
bool Poll(MappedInput &out) override;
|
||||
bool Poll(MappedInput &out) override;
|
||||
|
||||
private:
|
||||
bool decode_(MappedInput &out);
|
||||
bool decode_(MappedInput &out);
|
||||
|
||||
// ke-style prefix state
|
||||
bool k_prefix_ = false; // true after C-k until next key or ESC
|
||||
// Simple meta (ESC) state for ESC sequences like ESC b/f
|
||||
bool esc_meta_ = false;
|
||||
// ke-style prefix state
|
||||
bool k_prefix_ = false; // true after C-k until next key or ESC
|
||||
// Simple meta (ESC) state for ESC sequences like ESC b/f
|
||||
bool esc_meta_ = false;
|
||||
};
|
||||
|
||||
#endif // KTE_TERMINAL_INPUT_HANDLER_H
|
||||
|
||||
Reference in New Issue
Block a user