mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-25 05:06:24 +03:00
inspector: fix mode prefix by prepending '?' only to private modes
The inspector lists modes by their parameter when used to enable or disable the mode. Private modes are enabled by using a '?' in the sequence - however this '?' character was prepended to the ANSI modes.
This commit is contained in:
@ -596,7 +596,7 @@ fn renderModesWindow(self: *Inspector) void {
|
||||
_ = cimgui.c.igTableSetColumnIndex(1);
|
||||
cimgui.c.igText(
|
||||
"%s%d",
|
||||
if (tag.ansi) "?" else "",
|
||||
if (tag.ansi) "" else "?",
|
||||
@as(u32, @intCast(tag.value)),
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user