mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-07-28 11:36:34 +00:00
update libxev to fix split writes on large writes (i.e. big paste)
Fixes #258 This was an upstream bug in libxev where partial the queueWrite mechanism would not correctly handle partial write results: https://github.com/mitchellh/libxev/pull/60
This commit is contained in:
@@ -370,11 +370,11 @@ fn cursorCancelCallback(
|
||||
r: xev.Timer.CancelError!void,
|
||||
) xev.CallbackAction {
|
||||
_ = r catch |err| switch (err) {
|
||||
error.NotFound => {},
|
||||
else => {
|
||||
log.warn("error in cursor cancel callback err={}", .{err});
|
||||
unreachable;
|
||||
},
|
||||
error.Canceled => {},
|
||||
// else => {
|
||||
// log.warn("error in cursor cancel callback err={}", .{err});
|
||||
// unreachable;
|
||||
// },
|
||||
};
|
||||
|
||||
return .disarm;
|
||||
|
||||
@@ -483,7 +483,7 @@ fn ttyWrite(
|
||||
return .disarm;
|
||||
};
|
||||
_ = d;
|
||||
//log.info("WROTE: {d}", .{status});
|
||||
//log.info("WROTE: {d}", .{d});
|
||||
|
||||
return .disarm;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user