commit 1ce09d0ab8b474c9f2b293080fc2c17b571aff14
parent 0c291ab3b61f2cd4c520a2b5c18724fc58276d2b
Author: Jan Klemkow <j.klemkow@wemelug.de>
Date: Thu, 23 Apr 2020 23:42:56 +0200
fix ptty test program. don't quit after pos request
Diffstat:
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)