We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56efaf0 commit b975f1eCopy full SHA for b975f1e
src/cli/boo.zig
@@ -1,4 +1,5 @@
1
const std = @import("std");
2
+const builtin = @import("builtin");
3
const args = @import("args.zig");
4
const Action = @import("action.zig").Action;
5
const Allocator = std.mem.Allocator;
@@ -173,6 +174,12 @@ const Boo = struct {
173
174
175
/// The `boo` command is used to display the animation from the Ghostty website in the terminal
176
pub fn run(gpa: Allocator) !u8 {
177
+ // Disable on non-desktop systems.
178
+ switch (builtin.os.tag) {
179
+ .windows, .macos, .linux => {},
180
+ else => return 1,
181
+ }
182
+
183
var opts: Options = .{};
184
defer opts.deinit();
185
0 commit comments