lspclient: only unset cursor if previously set

... and restore the previously set cursor

Merge request reports

Loading