1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 12:26:40 +02:00

core: use whole replacement string instead of first char in function gui_color_decode

This commit is contained in:
Sébastien Helleu
2024-03-10 09:21:28 +01:00
parent 431cf23a0c
commit 3f49b1b44a
9 changed files with 75 additions and 81 deletions
+1 -1
View File
@@ -229,7 +229,7 @@ def string_remove_color(string: str, replacement: str) -> str:
::
# example
str = weechat.string_remove_color(my_string, "?")
str = weechat.string_remove_color(my_string, "[color]")
"""
...