Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: prompt terminator replay giving bad suggestions #225

Merged
merged 3 commits into from
Apr 8, 2024

Conversation

cpendery
Copy link
Member

@cpendery cpendery commented Apr 8, 2024

Fixes #208. The issue is that the @ is getting detected as terminating at the @ so the space becomes part of the command. When calculating if the cursor is at the end of the command, it used trim instead of trimEnd so the cursor was always found to be 1 character left of the end giving recommendations too early.

@cpendery cpendery merged commit 1b04467 into main Apr 8, 2024
10 checks passed
@cpendery cpendery deleted the fix/prompt-end-replay branch April 8, 2024 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failed to start with xonsh
1 participant