mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
apprt/glfw: add noop keyboardLayout func to satisfy tests and builds
This commit is contained in:
@ -409,6 +409,13 @@ pub const App = struct {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn keyboardLayout(self: *const App) input.KeyboardLayout {
|
||||||
|
_ = self;
|
||||||
|
|
||||||
|
// Not supported by glfw
|
||||||
|
return .unknown;
|
||||||
|
}
|
||||||
|
|
||||||
/// Mac-specific settings. This is only enabled when the target is
|
/// Mac-specific settings. This is only enabled when the target is
|
||||||
/// Mac and the artifact is a standalone exe. We don't target libs because
|
/// Mac and the artifact is a standalone exe. We don't target libs because
|
||||||
/// the embedded API doesn't do windowing.
|
/// the embedded API doesn't do windowing.
|
||||||
|
Reference in New Issue
Block a user