acheronfail/repgrep

Seeing duplicate characters for replacement

Closed this issue · 4 comments

ket000 commented

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

Can you provide any more information?

  • which terminal/console application are you using?
    • command prompt / microsoft terminal / windows powershell / cygwin / something else?
    • cmd.exe / powershell.exe / bash.exe / something else
  • which version of repgrep? (if you compiled, which commit)
  • does it appear twice in both the input prompt and preview, or just one?
  • does actually performing the replacement input a single character or double?
ket000 commented

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

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

ket000 commented

I downloaded 0.14.2 and issue is resolved now.