Re: Run Io coroutines in background simultaneous to using Io> prompt in foreground?
On 2009-06-07, at 9:18 PM, dennisf486 wrote:
> With the prompt presented by the Io executable, if I type something
> the prompt goes away until it is done, even if I type something like
> "o1 @test" to launch a coroutine. Is this a fundamental limitation
> of Io (can't enter new commands while coroutines are running)? I
> can think of several approaches; which, if any, are right?
The code that presents the user with the prompt and receives the input
line can just call doString(theInputString) and I think it should have
the behavior you are looking for.