mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-05 23:42:03 +00:00
fix undefined error
This commit is contained in:
parent
9bee51dc17
commit
4534f5ec1d
1 changed files with 2 additions and 1 deletions
|
|
@ -513,7 +513,8 @@ export function KeypressProvider({
|
|||
// Kitty protocol is not available (e.g., Windows PowerShell)
|
||||
if (
|
||||
kittySequenceBuffer ||
|
||||
(key.sequence.startsWith(`${ESC}[`) &&
|
||||
(key.sequence &&
|
||||
key.sequence.startsWith(`${ESC}[`) &&
|
||||
!key.sequence.startsWith(PASTE_MODE_PREFIX) &&
|
||||
!key.sequence.startsWith(PASTE_MODE_SUFFIX) &&
|
||||
!key.sequence.startsWith(FOCUS_IN) &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue