diff options
| author | Gabriel Schneider <[email protected]> | 2026-07-24 14:02:39 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-01 15:02:07 -0300 |
| commit | 2c670371a21cde5ab506eda02dc2233e20fc1fe1 (patch) | |
| tree | 5b5b09ac6b1bf40dd739d7ad9e21325763336455 /src/main.zig | |
| parent | 685b8c8e74c9edbdf701594f50ff1b70ac288ec9 (diff) | |
| parent | fcfe51b6507ade9c72f94e40ee5c31a8ee818e30 (diff) | |
| download | pardes-2c670371a21cde5ab506eda02dc2233e20fc1fe1.tar.gz pardes-2c670371a21cde5ab506eda02dc2233e20fc1fe1.zip | |
docs: note native web client + WASM-only text logic in ideas.typ
Diffstat (limited to 'src/main.zig')
| -rw-r--r-- | src/main.zig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main.zig b/src/main.zig index 2e75de3d..47121691 100644 --- a/src/main.zig +++ b/src/main.zig @@ -18,6 +18,14 @@ pub const std_options_debug_io: std.Io = if (is_emscripten) else std_options_debug_threaded_io.?.io(); +// ghostty-vt's stream logs every mode it doesn't implement, and in the tty +// shell stderr IS the screen — the warning scribbles over the grid. macOS +// bash/readline sends one such mode (1034, meta-key) on every startup, so +// keep the stream scope to errors; linux shells just never tripped it. +pub const std_options: std.Options = .{ + .log_scope_levels = &.{.{ .scope = .stream, .level = .err }}, +}; + // A panic must restore the terminal (cooked mode, main screen, mouse off) // before the trace prints, or it lands garbled in a raw alt screen. recover() // no-ops unless the vaxis tty is live, so gui/tty share the handler. |
