harthur / replace

Command line search and replace utility
MIT License
747 stars 87 forks source link

Output scrambles terminal in Yosemite #52

Open nathanleclaire opened 9 years ago

nathanleclaire commented 9 years ago

Hi @harthur , thanks for this very nice tool. I've been using it for some refactoring work and I'm noticing that in our repo (granted, it has a very large Godeps directory so that may be part of the problem) I can consistently duplicate a bug which scrambles the output of the terminal.

Try these steps:

$ git clone https://github.com/docker/machine
$ cd machine
$ replace "github.com/docker/machine/drivers" "github.com/docker/machine/libmachine/drivers"

I get a really crazy looking output:

screen shot 2015-08-21 at 10 42 55 am

And my terminal is now completely scrambled:

screen shot 2015-08-21 at 10 53 06 am

I'm using iTerm2 on Yosemite. Not a show-stopping bug, but I figured I'd report it! Thanks.

nathanleclaire commented 9 years ago

I should note that the replace operation still works perfectly as expected, though.