mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-07 02:16: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;
|
||||
|
Reference in New Issue
Block a user