meithecatte/miniforth

Word-wrap long lists.

sirocyl opened this issue · 0 comments

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.