diff options
Diffstat (limited to 'slack')
-rw-r--r-- | slack/register.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/slack/register.py b/slack/register.py index aaf3c27..ca49c07 100644 --- a/slack/register.py +++ b/slack/register.py @@ -74,9 +74,10 @@ def modifier_input_text_display_with_cursor_cb( f"{input_delim_end} " ) if slack_buffer.is_loading or slack_buffer.workspace.is_connecting: + text = "connecting" if slack_buffer.workspace.is_connecting else "loading" prefix += ( f"{input_delim_start}" - f"{with_color(shared.config.color.loading.value, 'loading')}" + f"{with_color(shared.config.color.loading.value, text)}" f"{input_delim_end} " ) return prefix + string |