From ef0f093efde451ff9c73e304bf50020385942d55 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sat, 21 Nov 2015 21:49:12 +0000 Subject: Added /roster indent resource --- src/command/command.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/command/command.c') diff --git a/src/command/command.c b/src/command/command.c index 47cc7d9b..aaf0c555 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -281,6 +281,7 @@ static struct cmd_t command_defs[] = "/roster char header |none", "/roster char contact |none", "/roster indent contact ", + "/roster indent resource ", "/roster size ", "/roster add []", "/roster remove ", @@ -318,6 +319,7 @@ static struct cmd_t command_defs[] = { "char contact ", "Prefix roster contacts with specificed character." }, { "char contact none", "Remove roster contact character prefix." }, { "indent contact ", "Indent contact line by spaces." }, + { "indent resource ", "Indent roster line by spaces." }, { "size ", "Percentage of the screen taken up by the roster (1-99)." }, { "add []", "Add a new item to the roster." }, { "remove ", "Removes an item from the roster." }, @@ -2047,6 +2049,7 @@ cmd_init(void) roster_indent_ac = autocomplete_new(); autocomplete_add(roster_indent_ac, "contact"); + autocomplete_add(roster_indent_ac, "resource"); roster_option_ac = autocomplete_new(); autocomplete_add(roster_option_ac, "offline"); -- cgit 1.4.1-2-gfad0