mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-21 11:16:08 +03:00
very minor nitpicks
This commit is contained in:
@ -1030,7 +1030,7 @@ keybind: Keybinds = .{},
|
||||
/// notifications using certain escape sequences such as OSC 9 or OSC 777.
|
||||
@"desktop-notifications": bool = true,
|
||||
|
||||
/// If `true`, the bold text will use its bright palette
|
||||
/// If `true`, the bold text will use the bright color palette.
|
||||
@"bold-is-bright": bool = false,
|
||||
|
||||
/// This will be used to set the `TERM` environment variable.
|
||||
|
@ -92,10 +92,10 @@ pub const Style = struct {
|
||||
.palette => |idx| palette: {
|
||||
if (bold_is_bright and self.flags.bold) {
|
||||
const bright_offset = @intFromEnum(color.Name.bright_black);
|
||||
|
||||
if (idx < bright_offset)
|
||||
break :palette palette[idx + bright_offset];
|
||||
}
|
||||
|
||||
break :palette palette[idx];
|
||||
},
|
||||
.rgb => |rgb| rgb,
|
||||
|
Reference in New Issue
Block a user