A possible fix for #122

Here's a potential fix for #122. The condition `cursorChar >= ' '` matches `EOI` so we don't let the match reach that point.