Minor updates

* Add -L/--long completion for 'set' command.
* Fix completion description color.
This commit is contained in:
maxfl
2012-08-24 17:06:02 +04:00
committed by ridiculousfish
parent 5bbf220077
commit a2788129ff
2 changed files with 3 additions and 2 deletions

View File

@@ -444,8 +444,8 @@ static void completion_print_item( const wchar_t *prefix, comp_t *c, int width,
written++;
writech( L' ');
}
written += print_max( L"(", 1, 0 );
set_color( get_color( HIGHLIGHT_PAGER_DESCRIPTION ), bg);
written += print_max( L"(", 1, 0 );
written += print_max( c->desc.c_str(), desc_width, 0 );
written += print_max( L")", 1, 0 );
}