summaryrefslogtreecommitdiff
path: root/docs/coverage/_internal_editor.out
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-08 17:38:07 +0200
committerPaul Buetow <paul@buetow.org>2026-02-08 17:38:07 +0200
commit2ecf9b3de2cd3d54fe0c27b73cffee7aaa616398 (patch)
tree40cd0acbdd0ce99bc266a8257a3b9ba855dd941c /docs/coverage/_internal_editor.out
parentbe73769b81b57f9a90475a45f23b2c447178ff2a (diff)
Fix Claude agent clearing to use readline instead of vim commands
Claude Code's prompt input field does not support vim commands for clearing. The previous sequence 'Escape gg C-v G d i' resulted in literal text 'gGdijo' appearing in the prompt instead of clearing it. Changed to 'C-a C-k' (Emacs/readline style): - C-a: Move cursor to start of line - C-k: Kill (delete) from cursor to end of line Also added 150ms delay after Escape key in sendClearSequence to ensure mode transitions complete before subsequent keys are sent (though Claude uses readline, this helps other potential vim-based agents). Changes: - internal/tmuxedit/claude_agent.go: clearKeys "C-a C-k" instead of vim - internal/tmuxedit/claude_agent_test.go: Update test expectations - internal/tmuxedit/agentutil.go: Add time import and Escape delay - docs/usage.md: Update claude clear method documentation - docs/tmux.md: Clarify claude uses readline not vim - config.toml.example: Update claude description Integration tested: - Extracted: "final verification test" - Sent: "FINAL REPLACED TEXT NO VIM COMMANDS" - Result: Clean replacement with NO vim command artifacts - All unit tests pass (67/67) - Coverage: 80.9% Co-authored-by: Cursor <cursoragent@cursor.com>
Diffstat (limited to 'docs/coverage/_internal_editor.out')
0 files changed, 0 insertions, 0 deletions