summaryrefslogtreecommitdiff
path: root/src/config.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-21 22:37:36 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:14 -0300
commit297e14cfc36e4613a8c1cb3b995597d0a9c2873b (patch)
treead2ff7bd7a5869b2e45fe6098825a8ac35598703 /src/config.zig
parent9070942b29bd10dddcdecdb0e88ba0fb40608467 (diff)
parent44ce573e15c773cf5bb0d42941a143b63e44d900 (diff)
downloadpardes-297e14cfc36e4613a8c1cb3b995597d0a9c2873b.tar.gz
pardes-297e14cfc36e4613a8c1cb3b995597d0a9c2873b.zip
Merge the macOS first-class-host work
Diffstat (limited to 'src/config.zig')
-rw-r--r--src/config.zig15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/config.zig b/src/config.zig
index 3169b20c..81fefd2c 100644
--- a/src/config.zig
+++ b/src/config.zig
@@ -223,6 +223,17 @@ pub const tty_blank: enum { prompt, prompt_and_input } = .prompt;
// Projected colors below this contrast use the theme's more legible anchor.
pub const tty_filter_min_contrast: f64 = 1.5;
+// What a pty child is told it is talking to. Every pane is emulated by the
+// bundled VT, so this describes pardes and never the terminal pardes itself
+// was launched from — the child inherits the launcher's TERM otherwise, which
+// under a macOS .app launch is no TERM at all, and `clear`, colour and every
+// cursor-addressing program fail at the terminfo lookup. There is no installed
+// `xterm-ghostty` entry to name, and a name with no entry is worse than a
+// conservative one that every system ships.
+pub const child_term = "xterm-256color";
+pub const child_colorterm = "truecolor";
+pub const child_term_program = "pardes";
+
pub const topbar_str = "Newcol Joincol Find Grep Help Changelog Tutor Dump NextColor Debug Kill";
pub const pane_builtins_str = "Tty Collapse Del";
@@ -539,6 +550,10 @@ pub const Runtime = struct {
tree_context_tag_style: bool = true,
debug: bool = false,
focus_tint: bool = true,
+ /// The workspace tag row. Native shells with their own chrome (the macOS
+ /// menu bar) turn it off and carry its commands there instead; the core
+ /// keeps the row as the acme tradition everywhere else.
+ workspace_tag: bool = true,
column_tags: bool = true,
syntax_bold: bool = false,
/// Builtins announce themselves on the message row.