Skip to content

Commit

Permalink
Clear command from terminal window once its been sent
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan committed Oct 11, 2024
1 parent 99019c2 commit 2f914c3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ private static void ProcessUserInput()
Console.Clear();

_ = Listener.WriteMessage(input);

Console.CursorLeft = 0;
Console.Write(new string(' ', Console.BufferWidth - 1));
}
break;

Expand Down

0 comments on commit 2f914c3

Please sign in to comment.