-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PAGE incorrectly leaves cursor at bottom left #203
Comments
philburk
added a commit
that referenced
this issue
Feb 15, 2025
It was leaving the cursor at the bottom left. Forth ANS standard says to leave at top left. Fixes #203
You are right about the standard! I implemented the move to top-left using:
|
@philburk
Looks good! Thanks very much for making this change.
-Bob
On Saturday, February 15, 2025, 11:33 AM, Phil Burk ***@***.***> wrote:
@rgizz - what do you think about PR #204
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
philburk left a comment (philburk/pforth#203)
@rgizz - what do you think about PR #204
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PAGE is supposed to leave the cursor at the top left of the terminal, according to the standard. However, in pforth, PAGE leaves the cursor at the bottom left.
I suggest this.
: page ( -- , clear screen )
$1B emit [char] [ emit
." 1;H" $1B emit [char] [ emit ." 2J" ;
Thank you very much for pforth.
The text was updated successfully, but these errors were encountered: