Fix crash if entering a line with all whitespaces
Fix crash if entering a line with all whitespaces

RonIovine/pshell,RonIovine/pshell,RonIovine/pshell,RonIovine/pshell,RonIovine/pshell,RonIovine/pshell