Hi Nick,

On Friday, May 12, 2006, 6:52:19 AM, you wrote:

NA> I fixed the key handler error by first checking if the arrow keys (and =20
NA> also the insert key) were detected, as in the code below. The problem =20
NA> is in the evaluation of "to-string to-char to-integer now-key".  Do =20
NA> you know if there's a more elegant way to do this?:

>> p: open/binary/no-wait console://
>> wait p copy p
== #{75}
>> wait p to string! copy p
== "u"
>> wait p to string! copy p
== "^[[A"

Regards,
   Gabriele.
-- 
Gabriele Santilli <[EMAIL PROTECTED]>  ---  http://www.rebol.com/
Colella Chiara software division --- http://www.colellachiara.com/

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to