diff 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
line wrap: on
line diff
--- a/console/libgnt/gntkeys.h	Tue Mar 06 07:17:27 2007 +0000
+++ b/console/libgnt/gntkeys.h	Wed Mar 07 12:58:34 2007 +0000
@@ -82,6 +82,10 @@
 void gnt_init_keys();
 void gnt_keys_refine(char *text);
 
+void gnt_keys_add_combination(const char *path);
+void gnt_keys_del_combination(const char *path);
+int gnt_keys_find_combination(const char *path);
+
 
 /* A lot of commonly used variable names are defined in <term.h>. 
  * #undef them to make life easier for everyone. */