rainbow icon indicating copy to clipboard operation
rainbow copied to clipboard

Running CLI editors does not work when piped to rainbow, unlike when piped to the Ruby lolcat

Open quackduck opened this issue 4 years ago • 2 comments

An asciinema showing this here.

With the Ruby lolcat (original): Screen Shot 2021-01-12 at 7 07 08 PM

With rainbow: Screen Shot 2021-01-12 at 7 08 28 PM

This is with just Nano but Vim behaves like this too.

What causes this and what could be done to fix this?

quackduck avatar Jan 12 '21 15:01 quackduck

I'm not sure where to begin with honestly. I'm assuming it has to be with how we are handling the pipes.

arsham avatar Jan 18 '21 09:01 arsham

Or perhaps how escape codes already present in the text are handled.

quackduck avatar Jan 18 '21 09:01 quackduck