Add cursor to line editing.