Aloso/to-html

Support cursor movement

Opened this issue · 0 comments

Aloso commented

Relevant wikipedia section

Apart from ANSI sequences for cursor movement, we should also support \r to move to the start of the line.

Moving up or down is tricky because it should respect graphemes and wide characters. The unicode-width crate should help with that.