Merge width and height to windowSize
Implement RFC-1091 terminal type, partially
Handle CR-LF