summaryrefslogtreecommitdiff
path: root/src/cli/tui.zig
diff options
context:
space:
mode:
authorMitchell Hashimoto <m@mitchellh.com>2024-09-10 21:14:55 -0700
committerMitchell Hashimoto <m@mitchellh.com>2024-09-10 21:15:40 -0700
commit11c3ca69f552cc2280ba540ae7ff3a49da331f41 (patch)
tree6b77e0b4e555d2f0fc703d8bfdb50139883ab967 /src/cli/tui.zig
parent4e166246761474c3c524def1c993bd23a0d33fce (diff)
cli/crash-report: make it simpler (uglier, honestly)
Diffstat (limited to 'src/cli/tui.zig')
-rw-r--r--src/cli/tui.zig6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cli/tui.zig b/src/cli/tui.zig
new file mode 100644
index 000000000..28d593ed4
--- /dev/null
+++ b/src/cli/tui.zig
@@ -0,0 +1,6 @@
+const builtin = @import("builtin");
+
+pub const can_pretty_print = switch (builtin.os.tag) {
+ .ios, .tvos, .watchos => false,
+ else => true,
+};