Subj : Replacing a text string to execute JS code directly
To : Digital Man
From : Nightfox
Date : Sat Feb 08 2025 10:02 am
Re: Replacing a text string to execute JS code directly
By: Digital Man to Nightfox on Fri Feb 07 2025 09:26 pm
>> 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, "");
DM> Probably because of this logic in the getkey():
DM> So you'll probably want to bbs.replaceText(AreYouThere, "") in the getter,
DM> so you don't have this carriage-return, CLR-TO-EOL and restore line stuff
DM> going on.
That works. Thanks!
Nightfox
---
� Synchronet � Digital Distortion: digitaldistortionbbs.com