Various minor bug cleanups.

This commit is contained in:
2025-11-29 21:33:45 -08:00
parent 3de5ec68f8
commit b41946c470
18 changed files with 803 additions and 620 deletions

View File

@@ -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