terminal compatibility modes and fps counter

This commit is contained in:
Boof2015
2026-08-15 19:55:15 -04:00
parent b691178d65
commit 0763d84d84
8 changed files with 312 additions and 16 deletions
+4
View File
@@ -430,6 +430,8 @@ bool profileSettingsEqual(const TuiSettings& left,
TuiSettings normalizedLeft = normalizeSettings(left);
TuiSettings normalizedRight = normalizeSettings(right);
normalizedLeft.refreshRate = normalizedRight.refreshRate;
normalizedLeft.terminalCompatibility =
normalizedRight.terminalCompatibility;
return normalizedLeft == normalizedRight;
}
@@ -437,6 +439,8 @@ TuiSettings applyProfileSettings(const TuiSettings& profile,
const TuiSettings& working) {
TuiSettings applied = normalizeSettings(profile);
applied.refreshRate = normalizeSettings(working).refreshRate;
applied.terminalCompatibility =
normalizeSettings(working).terminalCompatibility;
return applied;
}