拆分代码7

This commit is contained in:
2026-02-04 21:37:05 +08:00
parent 6dcd49e3c4
commit 66cc5fb257
8 changed files with 365 additions and 290 deletions

View File

@@ -0,0 +1,19 @@
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 = "/";
}
}
}
}