~jpgleeson/spawsh

becc8af631d951c04a6c1c51abbc8e73faff6860 — Jack Gleeson 7 months ago f49645e
Clear buffer after exit. Change to single file output
2 files changed, 5 insertions(+), 0 deletions(-)

M Program.cs
M spawsh.csproj
M Program.cs => Program.cs +3 -0
@@ 145,6 145,9 @@ namespace spawsh
            if (keyRead.Key == ConsoleKey.Escape)
            {
                inInteractive = false;
                Console.Write("\x1b[2J");
                Console.Write("\x1b[3J");
                Console.Write("\x1b[H");
            }
            else if (keyRead.Key == ConsoleKey.Enter)
            {

M spawsh.csproj => spawsh.csproj +2 -0
@@ 3,6 3,8 @@
  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net5.0</TargetFramework>
    <PublishSingleFile>true</PublishSingleFile>
    <SelfContained>true</SelfContained>
  </PropertyGroup>

</Project>