diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-07 08:57:04 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-07 08:57:04 +0300 |
| commit | f8e5ff8227c0cafb140767c9286dd598e7503e45 (patch) | |
| tree | 05a7cadd468ab3dfc364287b856aed37cfcce4ca /internal/tmuxedit/agentutil.go | |
| parent | d600ea8c411d5f9962a64ea52bba6ec21ac661be (diff) | |
feat: remove tmux edit popup support for Claude Code
Claude Code CLI now supports Ctrl+G to open the prompt in EDITOR
(like OpenAI Codex CLI), making the built-in hexai-tmux-edit agent
profile redundant.
- Remove internal/tmuxedit/claude_agent.go and its tests
- Update builtinAgents() to exclude claude; built-ins are now: cursor, amp, aider
- Update all documentation (README, docs/tmux.md, docs/usage.md, docs/configuration.md)
- Update config.toml.example to reflect new agent list
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/tmuxedit/agentutil.go')
| -rw-r--r-- | internal/tmuxedit/agentutil.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/tmuxedit/agentutil.go b/internal/tmuxedit/agentutil.go index 18ece9b..67351d3 100644 --- a/internal/tmuxedit/agentutil.go +++ b/internal/tmuxedit/agentutil.go @@ -65,9 +65,9 @@ func joinLastContiguousBlock(matches []promptMatch, strips []string) string { } // scopeToLastSection extracts the content between the last two lines matching -// the section delimiter pattern. This isolates the prompt area (e.g. Claude's -// ─── rules) from previous conversation content. Returns the full content if -// no pattern is set or fewer than two delimiters are found. +// the section delimiter pattern. This isolates the prompt area from previous +// conversation content. Returns the full content if no pattern is set or +// fewer than two delimiters are found. func scopeToLastSection(paneContent, sectionPattern string) string { if sectionPattern == "" { return paneContent @@ -118,7 +118,7 @@ func sendClearSequence(paneID, clearKeys string) error { return fmt.Errorf("clear key %q failed: %w", key, err) } } - // Add delay after Escape to let Vim/Claude exit INSERT mode + // Add delay after Escape to let Vim-based agents exit INSERT mode if key == "Escape" { time.Sleep(150 * time.Millisecond) } |
