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

Edit group doesn't get undone correctly #1524

Closed
daxian-dbw opened this issue May 14, 2020 · 0 comments · Fixed by #1526
Closed

Edit group doesn't get undone correctly #1524

daxian-dbw opened this issue May 14, 2020 · 0 comments · Fixed by #1526
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.

Comments

@daxian-dbw
Copy link
Member

Environment

PS version: 7.0.0
PSReadline version: 2.1.0-beta1
os: 10.0.18362.1 (WinBuild.160101.0800)
PS file version: 7.0.0.0
HostName: ConsoleHost (Windows Terminal)
BufferWidth: 150
BufferHeight: 40

Steps to reproduce

  1. Make sure you are in VI edit mode
  2. Type yuiogh and then press Escape
  3. Press LeftArrow and then Shift+c to remove gh at the end
  4. Type 789 and then Ctrl+z
  5. Press 1 and then press Escape
  6. Press u to undo the edit group

Expected behavior

Edits since Shift+c should be undone, and console should show yuiogh

Actual behavior

The console shows yuiog

@ghost ghost added the Needs-Triage 🔍 It's a new issue that core contributor team needs to triage. label May 14, 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 May 14, 2020
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
Development

Successfully merging a pull request may close this issue.

1 participant