From ba65a2c5cfd577c0fa217ffa1f16977e4b771ff2 Mon Sep 17 00:00:00 2001 From: Chuck <33324927+ChuckBuilds@users.noreply.github.com> Date: Thu, 10 Apr 2025 20:58:31 -0500 Subject: [PATCH] Update news_manager.py News separator --- src/news_manager.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/news_manager.py b/src/news_manager.py index 27932026..9a34cfc1 100644 --- a/src/news_manager.py +++ b/src/news_manager.py @@ -193,10 +193,11 @@ class NewsManager: current_news = all_news[self.current_news_index] next_news = all_news[(self.current_news_index + 1) % len(all_news)] - # Format the news text with spacing between items + # Format the news text with proper spacing and separator + separator = " ● " # Visual separator between news items current_text = f"{current_news['symbol']}: {current_news['title']}" next_text = f"{next_news['symbol']}: {next_news['title']}" - news_text = f"{current_text} {next_text}" + news_text = f"{current_text}{separator}{next_text}" # Create a text image for efficient scrolling (only if needed) if not hasattr(self, '_current_text_image') or self._current_text != news_text: