unosquare / embedio

A tiny, cross-platform, module based web server for .NET
http://unosquare.github.io/embedio
Other
1.47k stars 176 forks source link

Terminal cursor breaking #482

Closed SEQUOIIA closed 4 years ago

SEQUOIIA commented 4 years ago

Describe the bug Starting the web server breaks the terminal cursor on macOS. Seems to be working as intended though in Windows.

To Reproduce Merely just running

using (var server = Server.CreateWebServer())
{
  var cts = new CancellationTokenSource();
  Server.cts = cts;
  await server.RunAsync(cts.Token).ConfigureAwait(false);
}

will break the terminal.

Expected behavior My terminal cursor shows up and works after exiting the application.

Screenshots macOS video: https://cx11.cloud.seq.tf/embedio_macos.mp4 Doesn't work with web server started but does without.

Windows video: https://cx11.cloud.seq.tf/embedio_macos.mp4 Works with web server started and without.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

geoperez commented 4 years ago

Hello, this is probably an issue with the logging library used, SWAN. I'll take a look.

SEQUOIIA commented 4 years ago

@geoperez Awesome. Please let me know if there is anything I can do(further testing, etc.)

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.