Skip to content

Commit 031ff4c

Browse files
unhappychoiceclaude
andcommitted
fix: remove REPORT_EVENT_TYPES flag to prevent double input in iTerm
Remove KeyboardEnhancementFlags::REPORT_EVENT_TYPES flag which was causing double input issues on iTerm where key press and release events were being processed separately. Other screens don't filter for KeyEventKind::Press, so they were receiving duplicate events. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 70276a9 commit 031ff4c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/game/stage_manager.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ impl StageManager {
8989
stdout_handle,
9090
PushKeyboardEnhancementFlags(
9191
KeyboardEnhancementFlags::DISAMBIGUATE_ESCAPE_CODES
92-
| KeyboardEnhancementFlags::REPORT_EVENT_TYPES
9392
| KeyboardEnhancementFlags::REPORT_ALL_KEYS_AS_ESCAPE_CODES
9493
| KeyboardEnhancementFlags::REPORT_ALTERNATE_KEYS
9594
)

0 commit comments

Comments
 (0)