fix(terminal): prevent terminal disconnect on invalid UTF-8
This commit is contained in:
parent
d98a40ab9e
commit
bd507d48e2
2 changed files with 2 additions and 3 deletions
|
|
@ -502,7 +502,6 @@ const pty = struct {
|
|||
error.WriteFailed,
|
||||
error.ReadFailed,
|
||||
error.OutOfMemory,
|
||||
error.Utf8InvalidStartByte,
|
||||
=> {
|
||||
std.log.debug("terminal: processOutput error: {} (pid={?})", .{ e, self.vt.cmd.pid });
|
||||
return error.Unexpected;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue