Subj : Insert/Overwrite with getstr()
To   : All
From : Blakdeth
Date : Fri May 30 2008 01:46 pm

I am currently working on a Javascript Synchronet (3.15a) modification that
uses the console.getstr() to allow the user to edit a line of text.

I would like the user to be able to select either insert or overwrite mode
while editing this string. While ^V works for this purpose, I am hoping to
also allow the use of the INS key. Currently, when the user is editing the
string, pressing INS generates "[@" instead of toggling the input mode.

Is there a way to capture this key press?

Thanks,
-bd
--
Blakdeth
Masquerade BBS // telnet://masqueradebbs.com
http://www.masqueradebbs.com // [email protected]


---
� Synchronet � Masquerade BBS - http://www.masqueradebbs.com