marcusbuffett / pipe-rename

Rename your files using your favorite text editor
https://crates.io/crates/pipe-rename
MIT License
397 stars 12 forks source link

Messed up terminal after calling pipe-rename #3

Closed robinkrahl closed 4 years ago

robinkrahl commented 4 years ago

After calling renamer, somehow my terminal is messed up: I no longer see the input that I type, and new lines are no longer aligned at column 0. My first guess was that pipe-rename might forget to clear some ANSI escape code, but at first glance, I can’t find the problem in the source code. Maybe it is related to the spawned editor process?

Environment: