We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b5fd21 commit e43e50dCopy full SHA for e43e50d
pyxtermjs/app.py
@@ -38,7 +38,7 @@ def read_and_forward_pty_output():
38
timeout_sec = 0
39
(data_ready, _, _) = select.select([app.config["fd"]], [], [], timeout_sec)
40
if data_ready:
41
- output = os.read(app.config["fd"], max_read_bytes).decode()
+ output = os.read(app.config["fd"], max_read_bytes).decode(errors='ignore')
42
socketio.emit("pty-output", {"output": output}, namespace="/pty")
43
44
0 commit comments