Make stext length a macro
Add some helper functions
Git rid of some unnecessary sprintfs
Add function to measure string width
Remove unused variable
Fix formatting
Escape sequences end with an 'm', not a ';'
Add prototype for ansicolor_getwidth
Fix ansicolor_getwidth function
Add function to draw text without x-padding
Add drawstatus function
Remove debugging output
Use new drawstatus function to draw status
Don't use string for colors
Remove unnecessary functions and structures