Hi Alex
I see....I seemed to get "^[" returned by -> but then got the PL prompt ":"
with the differentiating 5 and 6 bits after that. I did wonder about the
differences but wasn't sure what to do with them.
Thank you for showing how.
Best Regards
Dean

On 12 January 2017 at 16:07, Mike Pechkin <mike.pech...@gmail.com> wrote:

> this out how i handle keys in 2048 game:
> https://bitbucket.org/mihailp/tankfeeder/src/
> 2f70061e8923fe1ac1af1bc7bce57e80fd664ba8/2048.l?at=default&
> fileviewer=file-view-default
> <https://bitbucket.org/mihailp/tankfeeder/src/2f70061e8923fe1ac1af1bc7bce57e80fd664ba8/2048l?at=default&fileviewer=file-view-default>
>
>
> On Thu, Jan 12, 2017 at 5:25 PM, dean <deangwillia...@gmail.com> wrote:
>
>>
>> ---------- Forwarded message ----------
>> From: dean <deangwillia...@gmail.com>
>> Date: 5 January 2017 at 15:55
>> Subject: differentiate between pg_up vs pg_down keys and delete vs
>> backspace keys
>> To: picolisp@software-lab.de
>>
>>
>> So far I've been doing (setq Key_you_want <whatever_you_get_from (key)>)
>> and this has worked well but on the BSDs pgup/pgdown give the same code.
>> What do I need to do in picolisp to differentiate between the two.
>> BTW I've seen term.l but just want to use the keys...not their intended
>> action.
>> Happy New Year
>> Dean
>>
>>
>

Reply via email to