commit 1ce09d0ab8b474c9f2b293080fc2c17b571aff14 Author: Jan Klemkow <j.klem...@wemelug.de> AuthorDate: Thu Apr 23 23:42:56 2020 +0200 Commit: Jan Klemkow <j.klem...@wemelug.de> CommitDate: Thu Apr 23 23:42:56 2020 +0200
fix ptty test program. don't quit after pos request diff --git a/ptty.c b/ptty.c index 7f6df51..d4b49e9 100644 --- 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)