- Subject: Re: [slang-users] Reconstructing the last key sequence
- From: Thomas Schultz <tststs@xxxxxx>
- Date: Tue, 2 Mar 2004 22:53:14 +0100
Hi!
First of all, thank you for the instant and helpful reply to my last
e-mail. Now I know the key sequence that triggered the function, but in
case it is an escape sequence, I'd like to convert it to a more
human-friendly format before displaying it. I'd also like to allow users
to use strings like "<Up>" and "<Down>" in the keybinding section of the
config files instead of forcing them to look up the exact escape sequences
for the respective keys.
To me, this mapping sounds like a good job for the I/O library. Can this
be done with s-lang or do I have to handle those conversions on the
application level? In slang.h, I saw constants for SL_KEY_UP etc. - the
manual says that they can be used with SLkp_getkey, but is there any
chance of using them with keymaps as well?
Kind regards
Thomas Schultz
[2004 date index]
[2004 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]