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:
@@ -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]")
|
||||
"""
|
||||
...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user