by invsblduck · 5y ago · 0 comments
i've used ansi sequences in my zsh prompt for 20 years to make colors and move the cursor; it's just in-band ascii that is interpreted by the terminal emulator, no?
With default options, you only get colors, and this is pretty safe.
git log --format=%ae | sort -u
the cursor movement sequences will be preserved.
I haven't delved too deeply into what git actually does here in terms of processing for "pager" output vs not.