mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-05 07:10:55 +00:00
When SSHing into a VM with network latency, terminal responses to startup queries (kitty protocol detection) can arrive after the 200ms timeout expires. The original code immediately restored raw mode, causing late responses to leak through as visible text. This fix adds two layers of defense: 1. Drain handler in kittyProtocolDetector: Adds a 100ms window after timeout to silently consume late-arriving responses 2. Regex filter in KeypressContext: Catches any terminal response patterns that make it past the detection phase, regardless of timing Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com> |
||
|---|---|---|
| .. | ||
| AgentViewContext.tsx | ||
| AppContext.tsx | ||
| ConfigContext.tsx | ||
| KeypressContext.test.tsx | ||
| KeypressContext.tsx | ||
| OverflowContext.tsx | ||
| SessionContext.test.tsx | ||
| SessionContext.tsx | ||
| SettingsContext.tsx | ||
| ShellFocusContext.tsx | ||
| StreamingContext.tsx | ||
| UIActionsContext.tsx | ||
| UIStateContext.tsx | ||
| VimModeContext.tsx | ||