Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/commands.h @ 288:1eea0fa0955e
Add /bind command
* Split process_line() to process_line() + process_command()
* Do not expand aliases in multi-line mode
* Add /bind command
The binding system is ugly (not UTF-8 compatible, I think, and certainly
system dependant because it is using ncurses wgetch() values).
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Fri, 08 Jul 2005 21:47:17 +0100 |
parents | edc263a5d350 |
children | 35cda94e570d 12f919be3da5 |
comparison
equal
deleted
inserted
replaced
287:c2a7e78d9ff5 | 288:1eea0fa0955e |
---|---|
12 } cmd; | 12 } cmd; |
13 | 13 |
14 void cmd_init(void); | 14 void cmd_init(void); |
15 cmd *cmd_get(const char *command); | 15 cmd *cmd_get(const char *command); |
16 int process_line(char *line); | 16 int process_line(char *line); |
17 int process_command(char *line); | |
17 char *expandalias(char *line); | 18 char *expandalias(char *line); |
18 | 19 |
19 #endif /* __COMMANDS_H__ */ | 20 #endif /* __COMMANDS_H__ */ |
20 | 21 |