1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-04 12:56:44 +02:00

implement tab completion for commands

This commit is contained in:
Jfreegman
2013-12-08 18:14:57 -05:00
parent 9c2551b3b9
commit 674aa682e7
8 changed files with 69 additions and 10 deletions

View File

@ -3,6 +3,9 @@
*/
#define MAX_NUM_ARGS 4 /* Includes command */
#define GLOBAL_NUM_COMMANDS 13
#define CHAT_NUM_COMMANDS 5
#define TOT_NUM_COMMANDS 17 /* -1 for duplicate /help command */
enum {
GLOBAL_COMMAND_MODE,