Skip to content

Commit

Permalink
optim
Browse files Browse the repository at this point in the history
  • Loading branch information
franck-gaspoz committed Feb 20, 2021
1 parent 6f12877 commit 426c03a
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions Program.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
using OrbitalShell.Component.CommandLine.CommandModel;
using OrbitalShell.Component.Shell.Module;
using OrbitalShell.Component.Shell.Hook;
using OrbitalShell.Component.Shell;
using OrbitalShell.Component.Shell.Variable;
using OrbitalShell.Component.CommandLine.Processor;
using System;
using System.IO;
using System.Linq;
using OrbitalShell.Component.Console;
using System.Collections.Generic;
using System.Threading;
using System.Diagnostics;
using System.Text;
Expand Down Expand Up @@ -43,6 +37,7 @@ public CommandVoidResult DoomFireAlgo(
firePattern = firePattern.ToLower();

var firePallete = firePattern.Split(PalettePatternSeparator);
var sb = new StringBuilder(width*height*20);

if (!gray)
{
Expand Down Expand Up @@ -106,7 +101,7 @@ void createSource() {
};

void render() {
var sb = new StringBuilder();
sb.Clear();
sb.Append(ANSI.CUP());

for (var row = 0; row < height; row++)
Expand Down Expand Up @@ -153,10 +148,5 @@ void start()

#endregion

#region private impl.



#endregion
}
}

0 comments on commit 426c03a

Please sign in to comment.