mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-06 07:38:21 +00:00
gtk(chore): fix typos
### AI Disclosure Claude wrote the regex to ignore base64-encoded sequences
This commit is contained in:
@@ -1736,11 +1736,11 @@ pub const Application = extern struct {
|
||||
log.debug("new-window argument: {d} {s}", .{ i, str });
|
||||
|
||||
if (e_seen) {
|
||||
const cpy = alloc.dupeZ(u8, str) catch |err| {
|
||||
const duplicated = alloc.dupeZ(u8, str) catch |err| {
|
||||
log.warn("unable to duplicate argument {d} {s}: {t}", .{ i, str, err });
|
||||
break :overrides;
|
||||
};
|
||||
args.append(alloc, cpy) catch |err| {
|
||||
args.append(alloc, duplicated) catch |err| {
|
||||
log.warn("unable to append argument {d} {s}: {t}", .{ i, str, err });
|
||||
break :overrides;
|
||||
};
|
||||
@@ -2451,7 +2451,7 @@ const Action = struct {
|
||||
};
|
||||
defer config.unref();
|
||||
|
||||
// Update the proper target. This will trigger a `confige_change`
|
||||
// Update the proper target. This will trigger a `config_change`
|
||||
// apprt action which will propagate the config properly to our
|
||||
// property system.
|
||||
switch (target) {
|
||||
|
||||
@@ -46,6 +46,8 @@ extend-ignore-re = [
|
||||
"\"hel\\\\x",
|
||||
# Ignore long hex-like IDs such as 815E26BA2EF1E00F005C67B1
|
||||
"[0-9A-F]{12,}",
|
||||
# Ignore base64-encoded strings
|
||||
"[A-Za-z0-9+/]{8,}={0,2}",
|
||||
# Ignore Apple four char codes
|
||||
'code="[A-Za-z]{4,8}"',
|
||||
'"[A-Za-z]{4}"\.fourCharCode',
|
||||
|
||||
Reference in New Issue
Block a user