comparison console/libgnt/gntkeys.h @ 15778:c2c2a854f5b3

Change a bit how the keystrokes are processed. When a lot of keystrokes come in at the same time, the shortest key-combination is processed first. This should make typing fast over a very slow connection work properly.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 07 Mar 2007 12:58:34 +0000
parents b28f5caf9445
children 682022b8a129
comparison
equal deleted inserted replaced
15777:909e59dae123 15778:c2c2a854f5b3
80 * This will do stuff with the terminal settings and stuff. 80 * This will do stuff with the terminal settings and stuff.
81 */ 81 */
82 void gnt_init_keys(); 82 void gnt_init_keys();
83 void gnt_keys_refine(char *text); 83 void gnt_keys_refine(char *text);
84 84
85 void gnt_keys_add_combination(const char *path);
86 void gnt_keys_del_combination(const char *path);
87 int gnt_keys_find_combination(const char *path);
88
85 89
86 /* A lot of commonly used variable names are defined in <term.h>. 90 /* A lot of commonly used variable names are defined in <term.h>.
87 * #undef them to make life easier for everyone. */ 91 * #undef them to make life easier for everyone. */
88 92
89 #undef columns 93 #undef columns