I want to read in a text string up to 160 characters. Using console.getstr(maxlen=160) it is stopping at the 80th position (for a 80x25 screen). Ideally what I'd like to happen is when it hits that border it would just wrap text. I've seen this behaviour before on SBBS, but before I wrote some javascript to try and do it myself I wanted to see if there was a built-in method I'm just not seeing.
Thanks,
Rob
I want to read in a text string up to 160 characters. Using console.getstr(maxlen=160) it is stopping at the 80th position (for a 80x25 screen). Ideally what I'd like to happen is when it hits that border it would just wrap text.
I've seen this behaviour before on SBBS, but before I
wrote some javascript to try and do it myself I wanted to see if there was a built-in method I'm just not seeing.
Sysop: | Eric Oulashin |
---|---|
Location: | Beaverton, Oregon, USA |
Users: | 107 |
Nodes: | 16 (0 / 16) |
Uptime: | 00:49:03 |
Calls: | 5,845 |
Calls today: | 4 |
Files: | 8,496 |
D/L today: |
357 files (278M bytes) |
Messages: | 342,988 |