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
Max length of a column/line? #64
Comments
No. I don't think doing an auto CR/LF is very useful since it would split words/numbers. I can't solve the word wrap problem since print gives me no look ahead. I get one character at a time with write calls. |
For me it would not matter if words or numbers are "split". I am simulating and old school 8bit homecomputer. A simple program like "10 PRINT "ALEX ";:GOTO 10 at the moment writes to a single line. It should rather behave like on a C64 when it reaches col 40 jumping to the next line (col 1). |
The best place to insert a CR/LF would be in the calling routine in your simulator. write(char c) processes one character at a time so it is not easy to insert a CR/LF at this level. |
Here is an example with an auto CR/LF class. It is not well debugged and you may want to modify the functionality.
|
Dear greiman. |
Look at this tutorial. |
Is it possible to automatically CR/LF if a certain line length is reached?
Cheers, Alex
The text was updated successfully, but these errors were encountered: