Преглед изворни кода

fix ptty test program. don't quit after pos request

Jan Klemkow пре 5 година
родитељ
комит
1ce09d0ab8
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      ptty.c

+ 1 - 1
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)