Fix movement of cursor when clicking and dual width chars are present in zsh

This commit is contained in:
Kovid Goyal 2021-09-30 07:38:44 +05:30
parent 7650c8bca9
commit 9ab5a03f53
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1476,7 +1476,7 @@ screen_fake_move_cursor_to_position(Screen *self, index_type x, index_type y) {
break;
}
x += w;
count += w;
count += 1; // zsh requires a single arrow press to move fast dualwidth chars
}
x = 0;
}