mirror-ghostty/src
Mitchell Hashimoto c78d9cba9e
config: disable palette-generate by default
Following the discussion at #10852, I believe this is the right default.
I'm willing to continue to revisit this decisions, but Ghostty 1.3 is
around the corner and I don't think such a change like this should be
pushed into it.

I think palette generation is best left as a _theme author_ tool. A
Ghostty color theme could include `palette-generate=true` if it wants
to customize the 256-color palette more easily. Of course, end users can
as well anytime.

Another part of my reasoning is that TUI programs who want this behavior
can already achieve it themselves by mixing dark/light theme detection
via CSI 996 (https://contour-terminal.org/vt-extensions/color-palette-update-notifications/)
with OSC 4/10/11 color query and change sequences, both of which are
decently supported in the terminal ecosystem and fully supported in
Ghostty.

I'm also open to considering some kind of new sequence to make this
easier for TUIs (probably a mode) where they can opt-in to palette
generation plus "harmonius" palettes (see `palette-harmonius`) and
Ghostty does it on demand then. I think that'd solve the legacy vs new
TUI argument where legacy programs can continue to make assumptions
about the palette and new programs can opt-in to a more dynamic palette
without having to do a lot of work themselves.
2026-02-27 11:32:15 -08:00
..
apprt fix(macOS): filter phantom mouse events that defeat mouse-hide-while-typing 2026-02-27 09:08:13 -08:00
benchmark unicode: switch to uucode grapheme break to (mostly) match unicode spec (#9680) 2026-01-20 09:44:15 -08:00
build build: don't build OpenGL support into imgui on iOS 2026-02-26 10:31:21 -08:00
cli ssh-cache: use AtomicFile to write the cache file 2026-01-17 20:44:22 -05:00
config config: disable palette-generate by default 2026-02-27 11:32:15 -08:00
crash Zig 0.15: zig build test macOS 2025-10-03 07:10:43 -07:00
datastruct split_tree: wrap spatial goto around edges 2026-02-17 20:35:25 -08:00
extra bash: avoid mapfile for bash 3.2 compatibility 2026-02-17 11:35:33 -05:00
font Fix Bengali test due to wider grapheme 2026-01-28 09:49:07 -05:00
input gtk: clean up title renaming and fix a small leak 2026-02-24 10:28:33 -06:00
inspector inspector: show more semantic prompt state for screen 2026-02-02 10:44:35 -08:00
lib testing: use std.Build.TranslateC instead of @cImport 2026-02-27 10:13:03 -06:00
os core: parse cmdline and cmdline_url semantic prompt options 2026-02-26 17:52:09 -06:00
renderer renderer: added cursor style and visibility uniforms 2026-02-23 14:11:36 -08:00
shell-integration zsh: fix ssh-terminfo shell integration to not interpret escape characters 2026-02-26 13:06:07 +01:00
simd Remove unused imports 2025-11-27 13:37:53 -08:00
stb Fix typos 2025-10-03 18:52:26 +02:00
synthetic benchmark: add option to microbenchmark OSC parser 2025-12-10 22:31:27 -06:00
terminal feat(vt): Parse UAPI OSC 3008 hierarchical context signalling (#11057) 2026-02-27 10:46:35 -08:00
terminfo ci: cleanup 2025-10-03 07:10:43 -07:00
termio WIP: Make palette inversion opt-in (#10877) 2026-02-19 20:24:42 -08:00
unicode Merge remote-tracking branch 'upstream/main' into grapheme-width-changes 2026-01-27 09:44:55 -05:00
App.zig remove redraw_inspector message 2026-02-01 14:32:37 -08:00
Command.zig command: fix tests 2026-02-17 12:54:29 -06:00
Surface.zig feat(config): allow fullscreen config to specify non-native mode directly 2026-02-19 14:34:22 -08:00
apprt.zig Remove unused imports 2025-11-27 13:37:53 -08:00
build_config.zig Remove unused imports 2025-11-27 13:37:53 -08:00
cli.zig cli: make the action parser (+foo) generic and reusable 2025-07-09 15:06:24 -07:00
config.zig feat(config): allow fullscreen config to specify non-native mode directly 2026-02-19 14:34:22 -08:00
fastmem.zig perf: replace `std.debug.assert` with inlined version 2025-11-17 12:13:56 -07:00
file_type.zig util: introduce helper for detecting file types 2025-06-25 16:27:23 -04:00
global.zig logging: document GHOSTTY_LOG and make it more flexible 2025-12-15 11:54:36 -08:00
helpgen.zig Zig 0.15: zig build test 2025-10-03 07:10:43 -07:00
input.zig update to use new RemapSet 2026-01-08 10:22:56 -08:00
lib_vt.zig terminal: highlights 2025-11-24 19:55:27 -08:00
main.zig remove src/bench 2025-07-09 15:06:24 -07:00
main_bench.zig Remove unused imports 2025-11-27 13:37:53 -08:00
main_build_data.zig flush output for our builddata executable 2025-10-03 13:32:15 -07:00
main_c.zig perf: replace `std.debug.assert` with inlined version 2025-11-17 12:13:56 -07:00
main_gen.zig Remove unused imports 2025-11-27 13:37:53 -08:00
main_ghostty.zig tripwire: a module for injecting failures to test errdefer 2026-01-21 09:39:02 -08:00
main_wasm.zig
math.zig
pty.zig Zig 0.15: zig build GTK exe 2025-10-03 07:10:43 -07:00
quirks.zig quirks: remove type signature for inlineAssert 2025-12-08 13:19:16 +08:00
renderer.zig testing: use std.Build.TranslateC instead of @cImport 2026-02-27 10:13:03 -06:00
surface_mouse.zig Remove unused imports 2025-11-27 13:37:53 -08:00
termio.zig search thread needs to take an allocated needle 2025-11-26 08:50:04 -08:00
tripwire.zig tripwire: change backing store from ArrayHashMap to EnumMap 2026-01-21 15:30:49 -08:00