Re: [code] [textadept] '\n' in curses

From: Robert <rob.g.att.web.de>
Date: Sun, 12 May 2013 22:25:59 +0200

On Sun, May 12, 2013 at 7:38 PM, Mitchell <m.att.foicica.com> wrote:
[..]
> Silly me, your key sequence should be '\r', not '\n' because the key code
> for return is SCK_RETURN (13, not 10). For some reason, I also thought you
> were using key modes for the command entry. I recognize the inconsistency
> here though and need to work on rectifying it.

Silly _me_, even though I suspected it might have to do with carriage
return I never checked the Ascii code or tried '\r' - probably since I
saw 13 = '\n' and one point in 'keys.lua'. With '\r' this works as
expected, though a unified way would be nice!

Best,
Robert

>
> Thanks for the report,
>
> Mitchell
> --
> You are subscribed to code.att.foicica.com.
> To change subscription settings, send an e-mail to code+help.att.foicica.com.
> To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
>

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Sun 12 May 2013 - 16:25:59 EDT

This archive was generated by hypermail 2.2.0 : Mon 13 May 2013 - 06:51:55 EDT