Very simple heuristic to handle cursor at the end of the line
Implement unmultiline