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

A trailing new line in "one line" control character modes causes a new line to be rendered #47

Closed acheronfail closed 3 years ago

acheronfail commented 3 years ago

It should not do this!

Reproduce:

  1. Run rgr
  2. Change to a "one line" mode (control+v twice)
  3. Input a replacement of "<anything>\n"

The new line should not be rendered.