* Add Bash/emacs style navigation keys

(thanks to Daniel Schuler)
This commit is contained in:
Hisham Muhammad
2010-03-03 21:13:33 +00:00
parent 282f16c4b8
commit b4a63409f5
5 changed files with 20 additions and 0 deletions

View File

@ -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);