joeyh

joeyh at

Or, pretty-printing the internal data structure representing the line update:

[SGR "\ESC[92m",SGR "\ESC[91m",Skip "foofoofoo",Display "x",Skip "arbarba",Display "x"]

Ok, so it's not 100% optimal since it doesn't combine SGR codes..