Mercurial > ~mikael > mcabber > hg
diff mcabber/src/commands.c @ 103:93dcc4e15d4a
[/trunk] Changeset 117 by mikael
* Optimize scr_handle_tab()
* Add /roster command completion (with its parameters)
* Clean up compl.c (debug stuff)
* Update TODO
author | mikael |
---|---|
date | Thu, 21 Apr 2005 19:38:23 +0000 |
parents | 2b4cc6bc5bf2 |
children | fe7257d251ac |
line wrap: on
line diff
--- a/mcabber/src/commands.c Thu Apr 21 19:06:27 2005 +0000 +++ b/mcabber/src/commands.c Thu Apr 21 19:38:23 2005 +0000 @@ -62,6 +62,7 @@ cmd_add("quit", "Exit the software", 0, 0, NULL); //cmd_add("rename"); //cmd_add("request_auth"); + cmd_add("roster", "Manipulate the roster/buddylist", COMPL_ROSTER, 0, NULL); cmd_add("say", "Say something to the selected buddy", 0, 0, NULL); //cmd_add("search"); //cmd_add("send_auth"); @@ -76,6 +77,12 @@ compl_add_category_word(COMPL_STATUS, "busy"); compl_add_category_word(COMPL_STATUS, "notavail"); compl_add_category_word(COMPL_STATUS, "away"); + + // Roster category + compl_add_category_word(COMPL_ROSTER, "bottom"); + compl_add_category_word(COMPL_ROSTER, "hide_offline"); + compl_add_category_word(COMPL_ROSTER, "show_offline"); + compl_add_category_word(COMPL_ROSTER, "top"); } // cmd_get