cursor stays on the same line