Fix an import.
Refactored. Method calls switched to char iterable descendant instead of char[].
Fixed text lost on horizontal resize.
Scroll buffer rewritten. Vertical and horizontal scrolling is fixed.