Fix for possible null reference exception
Merge pull request #118 from alex-ionochkin/84344418-terminal-cursor-location-fix

Fix for possible null reference exception when resizing terminal [#84344418]