Correct example so it actually works in the web repl#94
Draft
JamesNewton wants to merge 1 commit intohostilefork:masterfrom
Draft
Correct example so it actually works in the web repl#94JamesNewton wants to merge 1 commit intohostilefork:masterfrom
JamesNewton wants to merge 1 commit intohostilefork:masterfrom
Conversation
Collaborator
|
this is better |
Owner
|
It seems you've rediscovered a bug in the current JavaScript "fake" terminal code... its READ-LINE implementation won't work if it has to create a new div (e.g. if it happens before any PRINTs in the currently executing command.) As Graham points out, it's probably nicer for the example to point out a niftier usage of the ASK dialect. But the ASK dialect isn't really designed yet: https://forum.rebol.info/t/improving-the-ask-dialect-and-replacing-input/1124 Either way, ASK INTEGER! should work. The best answer here is probably to fix it, but make the example fancier as well. For the curious, here is the source code for the current ASK in %mezz-files.r |
Repository owner
deleted a comment from
JamesNewton
May 3, 2021
Repository owner
deleted a comment from
JamesNewton
May 3, 2021
6d50a7b to
f356339
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.