/SET names_max_columns, /SET names_max_width: Limit width of /NAMES list.

Forced max. 6 columns limit to /HELP


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1199 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-02-10 04:54:09 +00:00 committed by cras
commit 194dd60f36
4 changed files with 18 additions and 6 deletions

View file

@ -96,7 +96,7 @@ static void help_category(GSList *cmdlist, int items)
/* calculate columns */
cols = get_max_column_count(cmdlist, get_cmd_length,
max_width, 1, 3, &columns, &rows);
max_width, 6, 1, 3, &columns, &rows);
cmdlist = columns_sort_list(cmdlist, rows);
/* rows in last column */