Introduction
Introduction Statistics Contact Development Disclaimer Help
fix ptty test program. don't quit after pos request - scroll - scrollbackbuffe…
git clone git://git.suckless.org/scroll
Log
Files
Refs
README
LICENSE
---
commit 1ce09d0ab8b474c9f2b293080fc2c17b571aff14
parent 0c291ab3b61f2cd4c520a2b5c18724fc58276d2b
Author: Jan Klemkow <[email protected]>
Date: Thu, 23 Apr 2020 23:42:56 +0200
fix ptty test program. don't quit after pos request
Diffstat:
M ptty.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/ptty.c b/ptty.c
@@ -131,7 +131,7 @@ main(int argc, char *argv[])
/* handle cursor position request */
if (strcmp("\033[6n", buf) == 0) {
dprintf(mfd, "\033[1;25R", 1, 1);
- break;
+ continue;
}
if (write(STDOUT_FILENO, buf, n) == -1)
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.