From a4916039a1bc0fefce86782aa9ff5df36d6e8192 Mon Sep 17 00:00:00 2001 From: Joseph O'Brien <98370624+89jobrien@users.noreply.github.com> Date: Tue, 2 Dec 2025 20:40:26 -0500 Subject: [PATCH] Update main.py --- cli/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/main.py b/cli/main.py index d5efcf3c..00a8f43a 100644 --- a/cli/main.py +++ b/cli/main.py @@ -195,7 +195,7 @@ EVENT_OPTIONS = [ ] -def create_question_box(title: str, prompt: str, default: str = None) -> Panel: +def create_question_box(title: str, prompt: str, default: Optional[str] = None) -> Panel: box_content = f"[bold]{title}[/bold]\n" box_content += f"[dim]{prompt}[/dim]" if default: @@ -638,7 +638,7 @@ def run_analysis_for_ticker(ticker: str, config: dict): layout = create_layout() - with Live(layout, refresh_per_second=4) as live: + with Live(layout, refresh_per_second=4): update_display(layout) message_buffer.add_message("System", f"Selected ticker: {ticker}")