Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/screen.h @ 1176:547a8ca7c1a8
Move init_bindings() to screen.c, with a few updates
- Move the function init_bindings() to screen.c scr_init_bindings()
- Get rid of the malloc/free
- Add two key bindings: Meta-a, Meta-b
- Put the comments on the same line when it is possible, in order to save
some space.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Wed, 04 Apr 2007 22:03:49 +0200 |
parents | 334ae9f498f1 |
children | 10733d7de004 |
comparison
equal
deleted
inserted
replaced
1175:4b4fa9d685b8 | 1176:547a8ca7c1a8 |
---|---|
64 MKEY_CTRL_DEL, | 64 MKEY_CTRL_DEL, |
65 MKEY_CTRL_SHIFT_HOME, | 65 MKEY_CTRL_SHIFT_HOME, |
66 MKEY_CTRL_SHIFT_END | 66 MKEY_CTRL_SHIFT_END |
67 } mcode; | 67 } mcode; |
68 } keycode; | 68 } keycode; |
69 | |
70 void scr_init_bindings(void); | |
69 | 71 |
70 void scr_Getch(keycode *kcode); | 72 void scr_Getch(keycode *kcode); |
71 int process_key(keycode kcode); | 73 int process_key(keycode kcode); |
72 | 74 |
73 inline void scr_DoUpdate(void); | 75 inline void scr_DoUpdate(void); |