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

Predictive text behaves something odd #1591

Closed
kpatnayakuni opened this issue Jun 6, 2020 · 3 comments · Fixed by #1909
Closed

Predictive text behaves something odd #1591

kpatnayakuni opened this issue Jun 6, 2020 · 3 comments · Fixed by #1909
Assignees
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.

Comments

@kpatnayakuni
Copy link

PSReadLine is behaving something odd with the predictions, when the prediction is in multiple lines and if we are not continuing with the predicted command then it leaves the marks from the 2nd line in the screen, notice the same in the 2nd Pic and 1st pic shows the prediction.

image

image

Environment

PS version: 7.0.1
PSReadline version: 2.1.0-beta2
os: 10.0.19041.1 (WinBuild.160101.0800)
PS file version: 7.0.1.0
HostName: ConsoleHost (Windows Terminal)
BufferWidth: 209
BufferHeight: 52

Exception report

Steps to reproduce

You can see in the pics that I have attached.

Expected behavior

It should wipe the remaining predicted text

Actual behavior

It leaves the predicted text from the 2nd line on the screen

@ghost ghost added the Needs-Triage 🔍 It's a new issue that core contributor team needs to triage. label Jun 6, 2020
@daxian-dbw daxian-dbw added Issue-Bug It either shouldn't be doing this or needs an investigation. and removed Needs-Triage 🔍 It's a new issue that core contributor team needs to triage. labels Jun 6, 2020
@daxian-dbw daxian-dbw self-assigned this Jun 6, 2020
@daxian-dbw
Copy link
Member

This is a known issue. A better implementation is need to erase the suggestion text as needed.

@daxian-dbw
Copy link
Member

@kpatnayakuni Please keep this open to track the issue.

@daxian-dbw
Copy link
Member

The fix will be included in the 2.2.0-beta1 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
2 participants