mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-08-03 06:09:04 +00:00
config: add progress-style option (#11289)
Adds progress-style config to control OSC 9;4 progress bar visibility. Defaults to true, set false to hide. Fixes #11241 AI Disclosure: Claude Code (Opus 4.6) used for codebase exploration, code review, and testing assistance. All code written and reviewed by hand.
This commit is contained in:
@@ -1013,6 +1013,14 @@ pub const Surface = extern struct {
|
||||
priv.progress_bar_timer = null;
|
||||
}
|
||||
|
||||
if (priv.config) |config| {
|
||||
if (!config.get().@"progress-style") {
|
||||
log.debug("progress_report action blocked by config", .{});
|
||||
priv.progress_bar_overlay.as(gtk.Widget).setVisible(@intFromBool(false));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
const progress_bar = priv.progress_bar_overlay;
|
||||
switch (value.state) {
|
||||
// Remove the progress bar
|
||||
|
||||
Reference in New Issue
Block a user