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: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 4 |
Nodes: | 8 (0 / 8) |
Uptime: | 127:56:02 |
Calls: | 2,161 |
Files: | 11,149 |
D/L today: |
48 files (9,991K bytes) |
Messages: | 951,744 |