mirror of
https://github.com/Leonmmcoset/CMLeonOS.git
synced 2026-03-03 15:30:27 +00:00
20 lines
376 B
C#
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 = "/";
|
|
}
|
|
}
|
|
}
|
|
}
|