import sys
from rich.console import Console
from rich.panel import Panel
from rich.table import Table
from rich.text import Text
from rich import box
from rich.align import Align

from typing import List

class CoreLayout:
    def __init__(self,screen_options: List[str],
                    header: str,
                    footer: str = '↑↓: Navigate | Enter: Select | q/Esc: Quit'):
        self.console = Console()
        self.selected_option = 0
        self.panel_height = 15
        self.options = screen_options
        self.header = header
        self.footer = footer
    

