view console/libgnt/gntkeys.h @ 13855:5b288502a382

[gaim-migrate @ 16314] New widget GntEntry. It's mostly functional. Some minor improvements to the box-packing code. Minor improvements to the skeleton code for gnt, and completely change the name from my initial choice of GN (Glib and Ncurses) to GNT (Gaim Ncurses Toolkit). committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 23 Jun 2006 06:24:25 +0000
parents 0e1e59770cb0
children a621329e8c85
line wrap: on
line source

#ifndef GNT_KEYS_H
#define GNT_KEYS_H

#define GNT_KEY_POPUP   "[29~"

/* Arrow keys */
#define GNT_KEY_LEFT   "[D"
#define GNT_KEY_RIGHT  "[C"
#define GNT_KEY_UP     "[A"
#define GNT_KEY_DOWN   "[B"

#define GNT_KEY_ENTER  "\r"

#define GNT_KEY_BACKSPACE "\177"
#define GNT_KEY_DEL    "[3~"

#endif