Set current cursor to match remote's cursor.

Signed-off-by: Janne Hakonen <janne.hakonen@oss.tieto.com>