1
0
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:
Sebastien Helleu
2009-03-21 13:19:43 +01:00
parent a49c8b2e30
commit 8a68adbf3f
8 changed files with 50 additions and 53 deletions
+5 -5
View File
@@ -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),