From ea87d42b49f6ca080aaf44a232226f97214126af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Fri, 8 Mar 2024 08:19:20 +0100 Subject: [PATCH] exec: remove trailing space on buffers with free content when line numbers are not displayed --- ChangeLog.adoc | 1 + src/plugins/exec/exec.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog.adoc b/ChangeLog.adoc index e932264fb..d059326c6 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -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: remove trailing space on buffers with free content when line numbers are not displayed * 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 diff --git a/src/plugins/exec/exec.c b/src/plugins/exec/exec.c index b60cc3129..a6cf2f937 100644 --- a/src/plugins/exec/exec.c +++ b/src/plugins/exec/exec.c @@ -353,7 +353,7 @@ exec_display_line (struct t_exec_cmd *exec_cmd, struct t_gui_buffer *buffer, weechat_printf_y_date_tags ( buffer, -1, 0, str_tags, "%s%s", - (exec_cmd->line_numbers) ? str_number : " ", + (exec_cmd->line_numbers) ? str_number : "", line_color); } else