Fix up test - scroll - scrollbackbuffer program for st
(HTM) git clone git://git.suckless.org/scroll
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit fdb54c317eb9215cbfe063c7086a9cefba334f25
(DIR) parent 1ce09d0ab8b474c9f2b293080fc2c17b571aff14
(HTM) Author: Jochen Sprickerhof <git@jochen.sprickerhof.de>
Date: Fri, 24 Apr 2020 00:04:59 +0200
Fix up test
Diffstat:
M ptty.c | 2 +-
M up.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
(DIR) 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;
}
(DIR) 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