Files
CMLeonOS/shell/Commands/Utility/PromptCommand.cs

20 lines
376 B
C#
Raw Normal View History

2026-02-04 21:37:05 +08:00
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 = "/";
}
}
}
}