Check FIONREAD for all panes not just piped panes, fixes issues with

tests, GitHub issue 4807.
This commit is contained in:
nicm
2026-05-12 09:37:25 +00:00
parent 27a00d1bfd
commit 9e3653a612
3 changed files with 6 additions and 8 deletions

2
utf8.c
View File

@@ -590,7 +590,7 @@ utf8_towc(const struct utf8_data *ud, wchar_t *wc)
case 0:
return (UTF8_ERROR);
}
log_debug("UTF-8 %.*s is %05X", (int)ud->size, ud->data, (u_int)*wc);
log_debug("UTF-8 %.*s is U+%06X", (int)ud->size, ud->data, (u_int)*wc);
return (UTF8_DONE);
}