ee: Handle EINTR when waiting for a character

Otherwise one can't easily attach gdb to ee.

Reviewed by:	bapt
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D57997
This commit is contained in:
Mark Johnston committed 2026-07-06 13:18:18 +00:00
1 parent 705a88a717
commit a8f5e24070
1 file changed
+4
+4
View File
@@ -678,7 +678,11 @@ main(int argc, char *argv[])
* issue
*/
if (wret == ERR)
{
if (errno == EINTR)
continue;
exit(0);
}
in = (int)win;
resize_check();