diff options
Diffstat (limited to 'core/root.zig')
| -rw-r--r-- | core/root.zig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/root.zig b/core/root.zig index 8c325935..ce7df47c 100644 --- a/core/root.zig +++ b/core/root.zig @@ -115,7 +115,9 @@ const Loc = Jump.Loc; pub const can_attach = platform == .tui or platform == .gui; -pub const fonts = if (font_picker) @import("dev").fonts else struct {}; +/// The machine's fonts: every desktop build's, which steps a window's Font +/// as the window does (builtins.capabilities), and the Mac's. +pub const fonts = if (builtins.capabilities.font_picker) @import("dev").fonts else struct {}; pub const Pane = panes.Pane; const Text = panes.Text; |
