If the getter is returning an empty string, I'm not sure what's causing
the display to become messy. This does not happen if I replace
AreYouThere with a simple empty string as follows:
bbs.replace_text(AreYouThere, "");
Probably because of this logic in the getkey():
if ((sys_status & SS_USERON) && *text[AreYouThere] != '\0') {
attr(LIGHTGRAY);
carriage_return();
cleartoeol();
restoreline();
}
So you'll probably want to bbs.replaceText(AreYouThere, "") in the getter, so you don't have this carriage-return, CLR-TO-EOL and restore line stuff going on.
| Sysop: | Hoppy |
|---|---|
| Location: | Sydney, AU |
| Users: | 8 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 777:03:13 |
| Calls: | 34 |
| Files: | 6,999 |
| D/L today: |
66 files (11,005K bytes) |
| Messages: | 15,487 |