Added buffer space for cchar location
Save char index to line.
Added resize function
Scrolling not quite working
Int seems to be not saving properly