Kinda working, see ext.
So it mostly works if you only use one formatting no a line, however as
soon as you use multiple, the escape characters change the positions of
the corresponding text which messes up the final rendering. I need to do
something significantly smarter for tracking character positions.