More work on dnd kitten

This commit is contained in:
Kovid Goyal
2026-05-11 21:51:23 +05:30
parent 43b028bd6a
commit 634f13e65f
4 changed files with 79 additions and 61 deletions

View File

@@ -426,7 +426,7 @@ class PTY:
if isinstance(data, str):
data = data.encode('utf-8')
if self.log_data_flow:
print('t -> c:', data)
print('t -> c:', bytes(data))
self.write_buf += data
if flush:
self.process_input_from_child(0)