Add cursor_space and cursor_columns options

Ref #815