Introduction
Introduction Statistics Contact Development Disclaimer Help
Fix up test - scroll - scrollbackbuffer program for st
git clone git://git.suckless.org/scroll
Log
Files
Refs
README
LICENSE
---
commit fdb54c317eb9215cbfe063c7086a9cefba334f25
parent 1ce09d0ab8b474c9f2b293080fc2c17b571aff14
Author: Jochen Sprickerhof <[email protected]>
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(-)
---
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
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.