Added a couple misc commands and fixed some bugs. #44

Merged
That-One-Nerd merged 4 commits from misc-commands into main 2023-04-01 20:39:55 -04:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 4c919a152c - Show all commits

View File

@ -194,7 +194,7 @@ public static class BaseModule
{
List<string> lines = new() { " Timestamp Description"};
int longestName = 0;
for (int i = lines.Count - 1; i >= 0; i--)
for (int i = Program.Shell!.History.Count - 1; i >= 0; i--)
{
HistoryItem hist = Program.Shell!.History[i];
if (hist.name.Length > longestName) longestName = hist.name.Length;

View File

@ -6,7 +6,7 @@ public class Shell
{
public const string Author = "That_One_Nerd";
public const string Name = "SrcMod";
public const string Version = "Alpha 0.3.1";
public const string Version = "Alpha 0.3.2";
public readonly string? ShellDirectory;