Exposed linenoise function to set cursor position.