mirror of
https://github.com/weechat/weechat.git
synced 2026-07-06 17:53:13 +02:00
Add color around plugin name in help for commands
This commit is contained in:
@@ -1306,11 +1306,11 @@ command_help (void *data, struct t_gui_buffer *buffer,
|
||||
{
|
||||
gui_chat_printf (NULL, "");
|
||||
gui_chat_printf (NULL,
|
||||
"[%s%s] %s/%s %s%s",
|
||||
(ptr_hook->plugin) ?
|
||||
_("plugin:") : "weechat",
|
||||
(ptr_hook->plugin) ?
|
||||
ptr_hook->plugin->name : "",
|
||||
"%s[%s%s%s] %s/%s %s%s",
|
||||
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS),
|
||||
GUI_COLOR(GUI_COLOR_CHAT),
|
||||
plugin_get_name (ptr_hook->plugin),
|
||||
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS),
|
||||
GUI_COLOR(GUI_COLOR_CHAT_BUFFER),
|
||||
HOOK_COMMAND(ptr_hook, command),
|
||||
GUI_COLOR(GUI_COLOR_CHAT),
|
||||
|
||||
Reference in New Issue
Block a user