code: def test_growing_display_autorefresh() -> None:
      """Test generating a table but using auto-refresh from threading"""
      console = create_capture_console(height=5)
      console.begin_capture()
      with Live(
          console=console,
          auto_refresh=True,
          vertical_overflow="visible",
      ) as live:
          display = ""
          for step in range(10):
              display += f"Step {step}\n"
              live.update(display)
              time.sleep(0.2)
  
file_path: rich/tests/test_live.py
imports: import time
  from typing import Optional
  from rich.console import Console
  from rich.live import Live
  from rich.text import Text
label_desc: Use image node_id 8 for calling a global function with example usage: test_growing_display_autorefresh() without return types