smartless
smartless copied to clipboard
Support ^M (move up one line)
I use tools that write tons of updates on the screen using ^M to erase and then overwrite lines. The output is usually less than a screen long, but the intermediate lines add up to many screens. Can smartless support ^M with its intended behavior?
Can you provide a minimal testcase with the expected behavior (e.g. a script that outputs ^M, or a command)? I can't promise I will be able to add support for it, but if I have some time I can look into it. I'm also happy to accept pull requests if you want to have a go.