We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06c9ade commit 307c53eCopy full SHA for 307c53e
examples/async_printing.py
@@ -144,7 +144,7 @@ def _generate_colored_prompt(self) -> str:
144
"""
145
fg_color = random.choice(list(ansi.FG_COLORS.keys()))
146
bg_color = random.choice(list(ansi.BG_COLORS.keys()))
147
- return ansi.style(self.visible_prompt, fg=fg_color, bg=bg_color)
+ return ansi.style(self.visible_prompt.rstrip(), fg=fg_color, bg=bg_color) + ' '
148
149
def _alerter_thread_func(self) -> None:
150
""" Prints alerts and updates the prompt any time the prompt is showing """
0 commit comments