make cursor skip blank lines