[Bug] [P2?] Ctrl+G hotkey prints raw escape sequences instead of opening VS Code editor
Bug Description
1) In following mode:
╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌
Would you like to proceed?
❯ 1. Yes, clear context and auto-accept edits (shift+tab)
- Yes, auto-accept edits
- Yes, manually approve edits
- Type here to tell Claude what to change
ctrl-g to edit in VS Code · ~/.claude/plans/splendid-hugging-honey.md
╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌
2) When I pressed ctrl-g, VS Code opened but Claude Code CLI started printing the key presses rather than taking action on them. See below:
╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌
ctrl-g to edit in VS Code · ~/.claude/plans/splendid-hugging-honey.md
^[[O^[[I^[[O^[[I^[[B^[[B^[[B^[[27u^[[27u^[[27u^[[99;5u^[[27u^[[27u^[[27u^[[27u^[[27u^[[27uas^[[99;5u^[[27u^[[27u^[[27u^[[O^[[I^[[O^[[I
╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌
Looks like the typing cursor was 'stuck' in a different part of the TUI
Environment Info
- Platform: darwin
- Terminal: ghostty
- Version: 2.1.19
- Feedback ID: 043c79e8-f1ea-425c-82d0-4a6198e48257
Errors
[{"error":"Error: ENOENT: no such file or directory, scandir '/Library/Application Support/ClaudeCode/.claude/skills'\n at readdirSync (unknown)\n at <anonymous> (/$bunfs/root/claude:12:1903)\n at d_ (/$bunfs/root/claude:11:35435)\n at readdirSync (/$bunfs/root/claude:12:1864)\n at VQA (/$bunfs/root/claude:2215:380)\n at VQA (/$bunfs/root/claude:2215:1350)\n at <anonymous> (/$bunfs/root/claude:2215:4440)\n at <anonymous> (/$bunfs/root/claude:2215:5171)\n at L (/$bunfs/root/claude:11:7259)\n at PF9 (/$bunfs/root/claude:4862:4342)","timestamp":"2026-01-26T06:35:20.267Z"},{"error":"Error: ENOENT: no such file or directory, scandir '/Users/curiee/.claude/skills'\n at readdirSync (unknown)\n at <anonymous> (/$bunfs/root/claude:12:1903)\n at d_ (/$bunfs/root/claude:11:35435)\n at readdirSync (/$bunfs/root/claude:12:1864)\n at VQA (/$bunfs/root/claude:2215:380)\n at VQA (/$bunfs/root/claude:2215:1350)\n at <anonymous> (/$bunfs/root/claude:2215:4483)\n at <anonymous> (/$bunfs/root/claude:2215:5171)\n at L (/$bunfs/root/claude:11:7259)\n at PF9 (/$bunfs/root/claude:4862:4342)","timestamp":"2026-01-26T06:35:20.268Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/curiee/.local/share/claude/versions/2.1.19 (expected in multi-process scenarios)\n at $wA (/$bunfs/root/claude:4003:2091)\n at NxL (/$bunfs/root/claude:4003:1202)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-26T06:35:20.405Z"},{"error":"AbortError: The operation was aborted.\n at unknown\n at abortChildProcess (node:child_process:935:42)\n at onAbortListener2 (node:child_process:35:24)\n at abort (unknown)\n at <anonymous> (/$bunfs/root/claude:2806:209)","timestamp":"2026-01-26T06:35:25.327Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗