mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 14:46:03 +00:00
...
This commit is contained in:
parent
ac67d9c72d
commit
58a4b4218e
1 changed files with 3 additions and 1 deletions
|
|
@ -1388,7 +1388,8 @@ reap_children(ChildMonitor *self, bool enable_close_on_child_death) {
|
|||
}
|
||||
}
|
||||
|
||||
static inline void
|
||||
#ifdef KITTY_PRINT_BYTES_SENT_TO_CHILD
|
||||
static void
|
||||
print_text(const unsigned char *text, ssize_t sz) {
|
||||
for (ssize_t i = 0; i < sz; i++) {
|
||||
unsigned char ch = text[i];
|
||||
|
|
@ -1398,6 +1399,7 @@ print_text(const unsigned char *text, ssize_t sz) {
|
|||
} else fprintf(stderr, "\\x%02x", ch);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue