Re: console.ungetstr command
By: High Spirit to All on Tue Jan 09 2018 12:25 pm
Can someone tell me how this command works? Where do I put the string that I want in the buffer?
From what I remember, you can pass a string to console.ungetstr and the next time you input a string from the user (using a console.get function), the string you passed to ungetstr will be part of the string you input from the user next time.
Oddly, the Synchronet JavaScript Object Model documentation currently does not show that console.ungetstr() takes any parameters.. I have always passed a string to it, and I don't remember where I learned to do that.
Nightfox
---
■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com