Skip to content

Commit

Permalink
Fix spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
JKamsker committed Jun 11, 2024
1 parent 6660fbb commit 4212782
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions LiteDB.Shell/Shell/InputCommand.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;

namespace LiteDB.Shell
{
Expand Down Expand Up @@ -28,9 +27,9 @@ public string ReadCommand()

if (cmd == null)
{
this.AutoExit = true ;
this.Running = false;
return "";
this.AutoExit = true;
this.Running = false;
return "";
}

cmd = cmd.Trim();
Expand All @@ -40,12 +39,12 @@ public string ReadCommand()
{
while (!cmd.EndsWith(";"))
{
Console.ForegroundColor = ConsoleColor.White;
Console.Write("| ");
Console.ForegroundColor = ConsoleColor.White;
Console.Write("| ");

var line = this.ReadLine();
cmd += Environment.NewLine + line;
}
var line = this.ReadLine();
cmd += Environment.NewLine + line;
}
}

cmd = cmd.Trim();
Expand Down

0 comments on commit 4212782

Please sign in to comment.