start refactoring to draw parsed text to an intermediary data structure
implement some of the screen clearing functions
implement bells
lines shouldn't wrap until the next character is actually drawn
handle utf8 characters

still only codepoints at the moment, still need to handle glyph clusters
colors
refactor
bold/italic/underline
handle bold_is_bright
implement text scrolling
implement the alternate screen
implement the screen state properties
implement window title setting
clean everything up
implement scrolling regions
implement inverse
implement rgb colors
don't let move_to move outside of the screen
you can't just free uv handles, you have to close them first

this fixes some memory corruption
don't draw the cursor off the screen

the cursor column can be one past the end of the row if a glyph was
drawn in the last column and then nothing else happened