acheronfail / repgrep

An interactive replacer for ripgrep that makes it easy to find and replace across files on the command line.
Apache License 2.0
257 stars 4 forks source link

Seeing duplicate characters for replacement #91

Closed ket000 closed 1 year ago

ket000 commented 1 year ago

When trying to type replacement each character appears twice. On windows 11 and latest build.

acheronfail commented 1 year ago

Can you provide any more information?

ket000 commented 1 year ago

which terminal/console application are you using? microsoft terminal : Windows Terminal 1.16.10262.0 which version of repgrep? (if you compiled, which commit) rg -V ripgrep 13.0.0 rgr -V repgrep 0.14.1 does it appear twice in both the input prompt and preview, or just one? in both. See the screenshot. does actually performing the replacement input a single character or double? Double.

cat test.txt tteesstt22 test2 test3 rgr_double_07232023

acheronfail commented 1 year ago

Awesome - thanks for all that info! I've been able to reproduce this, will look into a fix.

ket000 commented 1 year ago

I downloaded 0.14.2 and issue is resolved now.