fix(terminal): prevent terminal disconnect on invalid UTF-8

This commit is contained in:
CJ van den Berg 2026-02-26 22:26:18 +01:00
parent d98a40ab9e
commit bd507d48e2
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
2 changed files with 2 additions and 3 deletions

View file

@ -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;