Mercurial > ~mikael > mcabber > hg
comparison mcabber/mcabber/commands.c @ 2143:2f294c2b6778
Add a backward completion (Oleg)
When we skip some needed item with tab, we can back with shift+tab.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 06 Jul 2014 14:51:17 +0200 |
parents | f063e36425a2 |
children | d3348deb32bd |
comparison
equal
deleted
inserted
replaced
2142:0e8a25503ee1 | 2143:2f294c2b6778 |
---|---|
4076 } else if (!strcasecmp(arg, "iline_accept_down_hist")) { | 4076 } else if (!strcasecmp(arg, "iline_accept_down_hist")) { |
4077 retval_for_cmds = readline_accept_line(TRUE); | 4077 retval_for_cmds = readline_accept_line(TRUE); |
4078 } else if (!strcasecmp(arg, "compl_cancel")) { | 4078 } else if (!strcasecmp(arg, "compl_cancel")) { |
4079 readline_cancel_completion(); | 4079 readline_cancel_completion(); |
4080 } else if (!strcasecmp(arg, "compl_do")) { | 4080 } else if (!strcasecmp(arg, "compl_do")) { |
4081 readline_do_completion(); | 4081 readline_do_completion(TRUE); |
4082 } else if (!strcasecmp(arg, "compl_do_bwd")) { | |
4083 readline_do_completion(FALSE); | |
4082 } else if (!strcasecmp(arg, "clear_history")) { | 4084 } else if (!strcasecmp(arg, "clear_history")) { |
4083 readline_clear_history(); | 4085 readline_clear_history(); |
4084 } else { | 4086 } else { |
4085 char **paramlst; | 4087 char **paramlst; |
4086 char *subcmd; | 4088 char *subcmd; |