Files
CMLeonOS/shell/Commands/Utility/PromptCommand.cs
2026-02-04 21:37:05 +08:00

20 lines
376 B
C#

using System;
namespace CMLeonOS.Commands.Utility
{
public static class PromptCommand
{
public static void ChangePrompt(string args, ref string prompt)
{
if (!string.IsNullOrEmpty(args))
{
prompt = args;
}
else
{
prompt = "/";
}
}
}
}