Add support for keeping the cursor a number of lines from the edges