mirror of
https://github.com/weechat/weechat.git
synced 2026-07-09 16:45:42 +02:00
core: optimize load of keys (save score of keys to sort them faster)
This commit is contained in:
+58
-52
File diff suppressed because it is too large
Load Diff
@@ -59,6 +59,7 @@ struct t_gui_key
|
||||
char *area_name[2]; /* name of areas (for cursor/mouse) */
|
||||
char *area_key; /* key after area (after ":") */
|
||||
char *command; /* associated command (may be NULL) */
|
||||
int score; /* score, for sorting keys */
|
||||
struct t_gui_key *prev_key; /* link to previous key */
|
||||
struct t_gui_key *next_key; /* link to next key */
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user