commit fdb54c317eb9215cbfe063c7086a9cefba334f25
parent 1ce09d0ab8b474c9f2b293080fc2c17b571aff14
Author: Jochen Sprickerhof <git@jochen.sprickerhof.de>
Date: Fri, 24 Apr 2020 00:04:59 +0200
Fix up test
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ptty.c b/ptty.c
@@ -130,7 +130,7 @@ main(int argc, char *argv[])
/* handle cursor position request */
if (strcmp("\033[6n", buf) == 0) {
- dprintf(mfd, "\033[1;25R", 1, 1);
+ dprintf(mfd, "\033[25;1R", 1, 1);
continue;
}
diff --git a/up.sh b/up.sh
@@ -5,4 +5,4 @@ set -eu
jot 50 > tmp.log
(sleep 1; printf "\033[5;2~"; sleep 1; ) \
- | ktrace -i ./ptty ./scroll ksh -c "tail -fn 50 tmp.log" > out.log
+ | ./ptty ./scroll tail -fn 50 tmp.log > out.log