summary refs log tree commit diff
path: root/term.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/term.c b/term.c
index c268c77..df3c87f 100644
--- a/term.c
+++ b/term.c
@@ -461,7 +461,7 @@ int termSnapshot(int _fd) {
 		"%c%c%u;%u%c",
 		ESC, CSI, Insert, (insert ? SM : RM),
 		ESC, CSI, scroll.top, scroll.bot, DECSTBM,
-		ESC, CSI, y, x, CUP
+		ESC, CSI, 1 + y, 1 + x, CUP
 	);
 	if (n < 0) goto fail;