log_setline doesn't return a cursor position, it looks random when