tonerdo / readline

A Pure C# GNU-Readline like library for .NET/.NET Core
MIT License
810 stars 77 forks source link

Added the ability to process in the background #33

Open erkyrath opened 7 years ago

erkyrath commented 7 years ago

I needed to be able to periodically check stuff in the background and (if necessary) interrupt the read, print, and restart the read.

This PR supports that.

erkyrath commented 7 years ago

I see the CI is failing with "The name 'Thread' does not exist in the current context". This is certainly because I added "using System.Threading" but I'm not clueful enough about C# build stuff to know the right answer. (I'm building by hand with mcs because I don't know what I'm doing. :)

If the fix is just to add a <PackageReference> line to ReadLine.csproj, I can do that.

tonerdo commented 7 years ago

@erkyrath you could always build it with .NET Core :)