From b4a63409f54b9c324d1baf0f153fe615a21502aa Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Wed, 3 Mar 2010 21:13:33 +0000 Subject: * Add Bash/emacs style navigation keys (thanks to Daniel Schuler) --- Panel.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Panel.h') diff --git a/Panel.h b/Panel.h index 9af9ace9..66723251 100644 --- a/Panel.h +++ b/Panel.h @@ -65,6 +65,10 @@ extern char* PANEL_CLASS; #define PANEL_CLASS NULL #endif +#define KEY_CTRLN 0016 /* control-n key */ +#define KEY_CTRLP 0020 /* control-p key */ +#define KEY_CTRLF 0006 /* control-f key */ +#define KEY_CTRLB 0002 /* control-b key */ Panel* Panel_new(int x, int y, int w, int h, char* type, bool owner, Object_Compare compare); -- cgit v1.2.3