diff options
author | June McEnroe <june@causal.agency> | 2019-08-05 19:01:23 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-08-05 19:01:23 -0400 |
commit | d2c71140b2547e122b3670be76b57950c2799240 (patch) | |
tree | e8984b8fd0fa2a3f4a3571399c6b77083f46e4df | |
parent | Write warnings if stderr is not a TTY (diff) | |
download | stream-d2c71140b2547e122b3670be76b57950c2799240.tar.gz stream-d2c71140b2547e122b3670be76b57950c2799240.zip |
Fix CUP coords in termSnapshot
-rw-r--r-- | term.c | 2 |
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; |