-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement
read()
builtin function. Allows for prompts.
#10 Like `suspend()` this commits the current transaction and then resumes in a new one once the input is back. So not really recommended if you care strongly about data consistency, and in general this kind of prompting breaks the "VR" feel. Along with this I did a fairly major reworking of the scheduler loop, which should be far more efficient now. Was able to find a way to rework the channels etc. so that it works with a tokio select! invocation in a loop, so no need for a polling interval anymore. (There's some oddities still that are preventing Session `fork` from working that I need to get to the bottom of but they are non-critical; and the experience in the console host isn't ideal.)
- Loading branch information
Showing
20 changed files
with
788 additions
and
358 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.