use CursorMoved (to update after leaving command line buffer)