From 6fe28f11f83d489e8f5904a75a90008ca94c1437 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Fri, 17 Feb 2012 15:12:20 +0000 Subject: Fix off-by-one error in cursor positioning --- win32/winansi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/winansi.c b/win32/winansi.c index f08fe2b79..3276913da 100644 --- a/win32/winansi.c +++ b/win32/winansi.c @@ -284,7 +284,7 @@ static const char *set_attr(const char *str) int row = strtol(str, (char **)&str, 10); if (*str == ';') { int col = strtol(str+1, (char **)&str, 10); - move_cursor(col, row); + move_cursor(col-1, row-1); } } break; -- cgit v1.2.3-55-g6feb