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: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,017 |
Nodes: | 17 (0 / 17) |
Uptime: | 116:41:15 |
Calls: | 503,083 |
Calls today: | 18 |
Files: | 212,942 |
U/L today: |
1 files (4K bytes) |
D/L today: |
5,706 files (880M bytes) |
Messages: | 440,597 |
Posted today: | 2 |