mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
apprt: default runtime for windows is glfw
This commit is contained in:
@ -57,6 +57,9 @@ pub const Runtime = enum {
|
|||||||
// The Linux default is GTK because it is full featured.
|
// The Linux default is GTK because it is full featured.
|
||||||
if (target.isLinux()) return .gtk;
|
if (target.isLinux()) return .gtk;
|
||||||
|
|
||||||
|
// Windows we currently only support glfw
|
||||||
|
if (target.isWindows()) return .glfw;
|
||||||
|
|
||||||
// Otherwise, we do NONE so we don't create an exe. The GLFW
|
// Otherwise, we do NONE so we don't create an exe. The GLFW
|
||||||
// build is opt-in because it is missing so many features compared
|
// build is opt-in because it is missing so many features compared
|
||||||
// to the other builds that are impossible due to the GLFW interface.
|
// to the other builds that are impossible due to the GLFW interface.
|
||||||
|
Reference in New Issue
Block a user