mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 16:26:08 +03:00
terminal: disable zombie styles integrity check
This commit is contained in:
@ -290,7 +290,6 @@ pub const Page = struct {
|
|||||||
MissingStyle,
|
MissingStyle,
|
||||||
UnmarkedStyleRow,
|
UnmarkedStyleRow,
|
||||||
MismatchedStyleRef,
|
MismatchedStyleRef,
|
||||||
ZombieStyles,
|
|
||||||
InvalidStyleCount,
|
InvalidStyleCount,
|
||||||
InvalidSpacerTailLocation,
|
InvalidSpacerTailLocation,
|
||||||
InvalidSpacerHeadLocation,
|
InvalidSpacerHeadLocation,
|
||||||
@ -505,14 +504,16 @@ pub const Page = struct {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// NOTE: This is currently disabled because @qwerasd says that
|
||||||
|
// certain fast paths can cause this but its okay.
|
||||||
// Just 1 zombie style might be the cursor style, so ignore it.
|
// Just 1 zombie style might be the cursor style, so ignore it.
|
||||||
if (zombies > 1) {
|
// if (zombies > 1) {
|
||||||
log.warn(
|
// log.warn(
|
||||||
"page integrity violation zombie styles count={}",
|
// "page integrity violation zombie styles count={}",
|
||||||
.{zombies},
|
// .{zombies},
|
||||||
);
|
// );
|
||||||
return IntegrityError.ZombieStyles;
|
// return IntegrityError.ZombieStyles;
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user