mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-05-18 11:10:22 +00:00
remove unused function, make apprt surface close mandatory
This commit is contained in:
@@ -364,22 +364,6 @@ fn processExit(
|
||||
return .disarm;
|
||||
}
|
||||
|
||||
fn ttyClose(
|
||||
_: ?*EventData,
|
||||
_: *xev.Loop,
|
||||
_: *xev.Completion,
|
||||
_: xev.Stream,
|
||||
r: xev.Stream.CloseError!void,
|
||||
) xev.CallbackAction {
|
||||
_ = r catch |err| {
|
||||
log.warn("error closing tty err={}", .{err});
|
||||
return .disarm;
|
||||
};
|
||||
|
||||
log.debug("tty parent closed", .{});
|
||||
return .disarm;
|
||||
}
|
||||
|
||||
fn ttyWrite(
|
||||
ev_: ?*EventData,
|
||||
_: *xev.Loop,
|
||||
|
||||
Reference in New Issue
Block a user