Mercurial > pidgin.yaz
diff console/libgnt/gntkeys.h @ 14793:8a0cfee11af8
[gaim-migrate @ 17558]
Introduce actions. You can specify the bindings for the actions. Right now, only the tree and the entry widget have them. The manual includes the details. I believe Ethan had suggested something like this a while back. It made sense, so here it is.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 21 Oct 2006 21:08:24 +0000 |
parents | e9dd2f76e61b |
children | 70623f0d5cdc |
line wrap: on
line diff
--- a/console/libgnt/gntkeys.h Sat Oct 21 20:40:12 2006 +0000 +++ b/console/libgnt/gntkeys.h Sat Oct 21 21:08:24 2006 +0000 @@ -23,6 +23,7 @@ #define GNT_KEY_BACKSPACE "\177" #define GNT_KEY_DEL "[3~" +#define GNT_KEY_INS "[2~" #define GNT_KEY_CTRL_A "\001" #define GNT_KEY_CTRL_B "\002" @@ -47,6 +48,19 @@ #define GNT_KEY_CTRL_X "\030" #define GNT_KEY_CTRL_Y "\031" +#define GNT_KEY_F1 "[[A" +#define GNT_KEY_F2 "[[B" +#define GNT_KEY_F3 "[[C" +#define GNT_KEY_F4 "[[D" +#define GNT_KEY_F5 "[[E" +#define GNT_KEY_F6 "[17~" +#define GNT_KEY_F7 "[18~" +#define GNT_KEY_F8 "[19~" +#define GNT_KEY_F9 "[20~" +#define GNT_KEY_F10 "[21~" +#define GNT_KEY_F11 "[23~" +#define GNT_KEY_F12 "[24~" + /** * This will do stuff with the terminal settings and stuff. */