summary refs log tree commit diff stats
path: root/ui/console-vc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/console-vc.c')
-rw-r--r--ui/console-vc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/console-vc.c b/ui/console-vc.c
index d512f57e10..87f57f1c52 100644
--- a/ui/console-vc.c
+++ b/ui/console-vc.c
@@ -827,8 +827,7 @@ static void vc_putchar(VCChardev *vc, int ch)
                 case 6:
                     /* report cursor position */
                     response = g_strdup_printf("\033[%d;%dR",
-                           (s->y_base + s->y) % s->total_height + 1,
-                            s->x + 1);
+                                               s->y + 1, s->x + 1);
                     vc_respond_str(vc, response);
                     break;
                 }