SETTINGS: Add infinite loop detection setting (#402)

This commit is contained in:
Snarling
2023-02-28 06:54:01 -05:00
committed by GitHub
parent ae92ea0f94
commit ee3c412933
3 changed files with 34 additions and 0 deletions

View File

@@ -102,6 +102,8 @@ export const Settings = {
useEngineeringNotation: false,
/** Whether to disable suffixes and always use exponential form (scientific or engineering). */
disableSuffixes: false,
/** Whether to check for execution timeout errors */
infiniteLoopDetection: true,
load(saveString: string) {
const save = JSON.parse(saveString);