1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-27 05:16:38 +02:00

irc: display the arrow before server name in raw buffer

This prevents the arrow to be truncated if the option
weechat.look.prefix_align_max is set to a non-zero value.
This commit is contained in:
Sébastien Helleu
2015-08-23 09:55:28 +02:00
parent e179a34a40
commit 8319332a78
2 changed files with 5 additions and 4 deletions
+1
View File
@@ -28,6 +28,7 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
* core: fix truncated messages after a word with a length of zero on screen
(for example a zero width space: U+200B) (bug #40985, issue #502)
* irc: display the arrow before server name in raw buffer
* irc: fix display of messages sent to server in raw buffer
* irc: fix display of invalid UTF-8 chars in raw buffer
+4 -4
View File
@@ -300,13 +300,13 @@ irc_raw_message_add (struct t_irc_server *server, int flags,
}
snprintf (prefix, sizeof (prefix), "%s%s%s%s%s",
(server) ? weechat_color ("chat_server") : "",
(server) ? server->name : "",
(server) ? " " : "",
(flags & IRC_RAW_FLAG_SEND) ?
weechat_color ("chat_prefix_quit") :
weechat_color ("chat_prefix_join"),
prefix_arrow);
prefix_arrow,
(server) ? weechat_color ("chat_server") : "",
(server) ? " " : "",
(server) ? server->name : "");
}
new_raw_message = irc_raw_message_add_to_list (time (NULL),