Skip to content

fix shell integration issues after clearing#151223

Merged
meganrogge merged 2 commits intomainfrom
merogge/fix-after-clear
Jun 3, 2022
Merged

fix shell integration issues after clearing#151223
meganrogge merged 2 commits intomainfrom
merogge/fix-after-clear

Conversation

@meganrogge
Copy link
Copy Markdown
Collaborator

@meganrogge meganrogge commented Jun 3, 2022

This PR fixes #145148 fixes #151217

@meganrogge
Copy link
Copy Markdown
Collaborator Author

not sure why this isn't happening already when the prompt gets printed

@meganrogge
Copy link
Copy Markdown
Collaborator Author

oh I think what happens is the top line is just retained of the prompt and not cleared

@meganrogge
Copy link
Copy Markdown
Collaborator Author

which explains why xterm.js doesn't parse anything even though the prompt appears to show up after the clear

@meganrogge
Copy link
Copy Markdown
Collaborator Author

prompt.mov

@meganrogge meganrogge requested a review from Tyriar June 3, 2022 15:38
@meganrogge meganrogge added this to the May 2022 milestone Jun 3, 2022
@meganrogge meganrogge enabled auto-merge (squash) June 3, 2022 15:39
Copy link
Copy Markdown
Contributor

@Tyriar Tyriar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar thing to what was there before, 👍 if it works on bash, zsh and pwsh. pwsh works fine currently probably because it gets the command line set explicitly so prompt start/command start aren't as important.

@meganrogge meganrogge merged commit ee813f3 into main Jun 3, 2022
@meganrogge meganrogge deleted the merogge/fix-after-clear branch June 3, 2022 15:46
@meganrogge meganrogge added the on-release-notes Issue/pull request mentioned in release notes label Jun 3, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jul 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

on-release-notes Issue/pull request mentioned in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

after clearing, next command run is not correct first command run after clear does not have a decoration

3 participants