feat: add path autocomplete in new session pane#329
Merged
Conversation
Replace Tab-triggered path completion cycling with fish-shell style ghost text. Dimmed completion text appears after the cursor and is accepted with Right arrow or End key. Tab keeps its normal field navigation role. - Ghost text shows directory completions when cursor is at end of input - Single match: shows remainder + / - Multiple matches: shows longest common prefix remainder - Recomputes reactively on every keystroke/cursor move - Includes staleness check to prevent stale ghost acceptance - Refactor tick() to return bool for smarter redraws Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
cf7f139 to
736980c
Compare
13 tasks
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.
Description
Replace Tab-triggered path completion cycling with fish-shell style ghost text in the new session dialog. Dimmed completion text now appears after the cursor showing directory completions, accepted with Right arrow or End key. Tab retains its normal field navigation role.
Key behaviors:
/tick()to returnboolfor smarter redrawsPR Type
Checklist
AI Usage
AI Model/Tool used: Claude Opus 4.6 (via Claude Code)
Any Additional AI Details you'd like to share: Co-authored implementation and tests with Claude Opus 4.6.
NOTE:
When responding to reviewer questions, please respond yourself rather than copy/pasting reviewer comments into an AI and pasting back its answer. We want to discuss with you, not your AI :)