Skip to content
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

Word-wrap long lists. #14

Open
sirocyl opened this issue Jul 2, 2023 · 0 comments
Open

Word-wrap long lists. #14

sirocyl opened this issue Jul 2, 2023 · 0 comments

Comments

@sirocyl
Copy link
Contributor

sirocyl commented Jul 2, 2023

Some other Forth implementations (OF, for instance) will determine if a word in a wide list print function (e.g., words) is going to run off the end of the screen or terminal, and if it's shorter than the width of the screen, insert a cr before printing the next one.

Running words on a freshly-loaded miniforth prints the words directly in one line, wrapping and breaking the words when it encounters the end of the screen. It's readable, but not very pretty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant