Fixed issue #28. Literally a one-liner.

This commit is contained in:
That_One_Nerd 2023-04-01 15:05:58 -04:00
parent 21b7436f0e
commit 4c919a152c
2 changed files with 2 additions and 2 deletions

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;