Rename SaveString to SafeString

This commit is contained in:
Stone_Red
2022-11-17 12:58:05 +01:00
parent 0f7f63ae9a
commit 9d22381085
7 changed files with 63 additions and 64 deletions
@@ -34,7 +34,7 @@ namespace YesNt.Interpreter.Statements
RuntimeInfo.Exit("Terminated by external process", true);
return;
}
args = args.ReplaceFirstOccurrence("%crl ", input.ToSaveString() + " ");
args = args.ReplaceFirstOccurrence("%crl ", input.ToSafeString() + " ");
}
RuntimeInfo.CurrentLine = args.TrimEnd();
}
@@ -46,7 +46,7 @@ namespace YesNt.Interpreter.Statements
while (args.Contains("%cr "))
{
string input = ConsoleExtentions.ReadKey(RuntimeInfo).ToString();
args = args.ReplaceFirstOccurrence("%cr ", input.ToSaveString() + " ");
args = args.ReplaceFirstOccurrence("%cr ", input.ToSafeString() + " ");
}
RuntimeInfo.CurrentLine = args.TrimEnd();
}