lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


2011/3/23 Mateusz Burzyński <mateuszburzynski@gmail.com>:
> is it possible in LUA to read and remember input made from my keyboard? I
> would like to make few commands based upon short keys combinations.
> if yes, how to do it?

If lua is bound to GNU readline, which it should be if readline exists
on your system, you can use readline to define macros:

http://tiswww.case.edu/php/chet/readline/rluserman.html

Cheers,
Sam