aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2020-07-09 02:43:53 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2020-07-09 02:43:53 +0200
commit679a05fbe296165886dd48d1e0f69941037cc0d2 (patch)
treefcc63a10a093164fd3c0f1ab66163f8b686ad826
parent99522c82dd281b1533e2a2be4b2eef8a2e010beb (diff)
downloadwee-slack-679a05fbe296165886dd48d1e0f69941037cc0d2.tar.gz
Set default color for thread short_name
The indent string may set a color and not reset it, because it's not necessary to reset it for normal channels.
-rw-r--r--wee_slack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 34a8e2d..4a5d57b 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -2491,7 +2491,7 @@ class SlackThreadChannel(SlackChannelCommon):
else:
indent_expr = w.config_string(w.config_get("buflist.format.indent"))
indent = w.string_eval_expression(indent_expr, {}, {}, {})
- return "{}${}".format(indent, name)
+ return "{}{}${}".format(indent, w.color("default"), name)
elif style == "long_default":
if self.label_full_drop_prefix:
return name