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
|
|
@ -30,8 +30,8 @@
|
|||
.hash = "fuzzig-0.1.1-Ji0xivxIAQBD0g8O_NV_0foqoPf3elsg9Sc3pNfdVH4D",
|
||||
},
|
||||
.vaxis = .{
|
||||
.url = "git+https://github.com/neurocyte/libvaxis?ref=main#1f16837cc6444f9323ac21a7988860f6a424b9d0",
|
||||
.hash = "vaxis-0.5.1-BWNV_BazCQACrQg5CxqJoXx6A0SusCFlc8Rr-vgePzLr",
|
||||
.url = "git+https://github.com/neurocyte/libvaxis?ref=main#db8eff78967d2414a678f93362fc88d624138d79",
|
||||
.hash = "vaxis-0.5.1-BWNV_DKzCQBccS_dYazIT7jjvx1lNiFLng2jm3sdLjka",
|
||||
},
|
||||
.zeit = .{
|
||||
.url = "git+https://github.com/rockorager/zeit?ref=zig-0.15#ed2ca60db118414bda2b12df2039e33bad3b0b88",
|
||||
|
|
|
|||
|
|
@ -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