mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
exec: add missing exec tags in lines of buffers with free content (issue #2086)
This commit is contained in:
@@ -17,6 +17,7 @@ Bug fixes::
|
||||
|
||||
* core: fix reset to initial scroll position after search of text in buffer (issue #2093)
|
||||
* core: add missing mouse events "alt-ctrl-button2" and "alt-ctrl-button3"
|
||||
* exec: add missing exec tags in lines of buffers with free content (issue #2086)
|
||||
* irc: add missing tags on self action messages when capability echo-message is enabled (issue #2074)
|
||||
* python: fix truncation of unsigned long long integer returned by function string_parse_size
|
||||
* script: always display list of scripts when searching scripts with `/script search` (issue #2077)
|
||||
|
||||
+17
-14
@@ -350,10 +350,11 @@ exec_display_line (struct t_exec_cmd *exec_cmd, struct t_gui_buffer *buffer,
|
||||
{
|
||||
snprintf (str_number, sizeof (str_number),
|
||||
"%d. ", exec_cmd->output_line_nb);
|
||||
weechat_printf_y (buffer, -1,
|
||||
"%s%s",
|
||||
(exec_cmd->line_numbers) ? str_number : " ",
|
||||
line_color);
|
||||
weechat_printf_y_date_tags (
|
||||
buffer, -1, 0, str_tags,
|
||||
"%s%s",
|
||||
(exec_cmd->line_numbers) ? str_number : " ",
|
||||
line_color);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -505,11 +506,12 @@ exec_end_command (struct t_exec_cmd *exec_cmd, int return_code)
|
||||
{
|
||||
if (buffer_type == 1)
|
||||
{
|
||||
weechat_printf_y (ptr_buffer, -1,
|
||||
_("%s: end of command %ld (\"%s\"), "
|
||||
"return code: %d"),
|
||||
EXEC_PLUGIN_NAME, exec_cmd->number,
|
||||
exec_cmd->command, return_code);
|
||||
weechat_printf_y_date_tags (
|
||||
ptr_buffer, -1, 0, "exec_rc",
|
||||
_("%s: end of command %ld (\"%s\"), "
|
||||
"return code: %d"),
|
||||
EXEC_PLUGIN_NAME, exec_cmd->number,
|
||||
exec_cmd->command, return_code);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -525,11 +527,12 @@ exec_end_command (struct t_exec_cmd *exec_cmd, int return_code)
|
||||
{
|
||||
if (buffer_type == 1)
|
||||
{
|
||||
weechat_printf_y (ptr_buffer, -1,
|
||||
_("%s: unexpected end of command %ld "
|
||||
"(\"%s\")"),
|
||||
EXEC_PLUGIN_NAME, exec_cmd->number,
|
||||
exec_cmd->command);
|
||||
weechat_printf_y_date_tags (
|
||||
ptr_buffer, -1, 0, "exec_rc",
|
||||
_("%s: unexpected end of command %ld "
|
||||
"(\"%s\")"),
|
||||
EXEC_PLUGIN_NAME, exec_cmd->number,
|
||||
exec_cmd->command);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user