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(fish): Emit clear-screen escape sequence only in left prompt #3588

Merged
merged 1 commit into from
Feb 14, 2022

Conversation

rashil2000
Copy link
Contributor

@rashil2000 rashil2000 commented Feb 9, 2022

Description

Emitting the [J escape sequence in right prompt caused problems with fish text rendering, like during multiline input and during menu-completion. This PR restricts the escape sequence to just the left prompt part.

Motivation and Context

Closes #3305
Closes #3603

Screenshots (if appropriate):

See the linked issue for more details.

How Has This Been Tested?

  • I have tested using MacOS
  • I have tested using Linux
  • I have tested using Windows

Checklist:

  • I have updated the documentation accordingly.
  • I have updated the tests accordingly.

@davidkna davidkna merged commit e9e090e into starship:master Feb 14, 2022
@davidkna
Copy link
Member

Thanks for the fix @rashil2000, and thanks for reviewing @andytom!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants