From 9ab5a03f5369d9611542dcb66b27e598431c2e16 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 30 Sep 2021 07:38:44 +0530 Subject: [PATCH] Fix movement of cursor when clicking and dual width chars are present in zsh --- kitty/screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/screen.c b/kitty/screen.c index 07e4a6aaa..c7899921d 100644 --- a/kitty/screen.c +++ b/kitty/screen.c @@ -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; }