feat: path input improvements, Ctrl+D delete, scrollback fix, copyClaudeDir#48
Open
google-q-dot wants to merge 1 commit into
Open
feat: path input improvements, Ctrl+D delete, scrollback fix, copyClaudeDir#48google-q-dot wants to merge 1 commit into
google-q-dot wants to merge 1 commit into
Conversation
…udeDir - Add Ctrl+V paste support via clipboard utility (src/core/clipboard.ts) - Add filesystem-aware path autocomplete showing subdirectories (src/core/filesystem.ts, InputAutocomplete usePaste hook) - Add Ctrl+B directory browser for navigating to git repos (src/tui/component/dialog-directory-browser.tsx) - Add Ctrl+D delete session from within tmux (signal file pattern) - Fix scrollback buffer not being cleared on session switch (\x1b[3J) - Add copyClaudeDir utility to copy .claude config to new worktrees - Add "Copy .claude to worktree" setting in settings dialog - Add dynamic footer hints for path/branch autocomplete fields Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Three sets of improvements to the new session dialog and session management, cherry-picked from open PRs #26 and #42, plus new path input features:
Path Input Improvements (new)
src/core/clipboard.ts) for terminals without bracketed paste (WSL/Windows Terminal); also addedusePastehook toInputAutocompleteto ensure suggestions update after bracketed pasteresolvePathCompletion()insrc/core/filesystem.tsshows matching subdirectories as you type a path, merged with history suggestions viapathSuggestionscreateMemoDialogDirectoryBrowsercomponent to navigate filesystem and find git repos; git repos marked with ★; once selected, worktree checkbox auto-appears via existing reactiveisGitRepo()effectFrom PR #42: Ctrl+D delete session + scrollback fix
/tmp/agent-view-delete-session) to delete current session from within attached tmux; status bar hint added\x1b[2J\x1b[H→\x1b[2J\x1b[3J\x1b[Hacrosstmux.ts,ssh.ts,updater.ts(9 occurrences) to clear scrollback buffer and prevent session switching artifactsswitch-client -n/-pnow followed byrefresh-clientto force redrawFrom PR #26: copyClaudeDir + footer hints
copyClaudeDir()insrc/core/git.tscopies.claudedirectory to new worktrees; controlled bycopyClaudeDirconfig field (off by default)ckeybind)Test plan
/home/) → autocomplete shows subdirectories.claudecopied.claudenot copiedbun run build+bun testpass (145 tests, 0 fail)🤖 Generated with Claude Code