Aloso / to-html

Utilities for making the colo documentation
MIT License
74 stars 10 forks source link

Support cursor movement #24

Open Aloso opened 1 year ago

Aloso commented 1 year ago

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.