INNER CODE UNIT · Python

_build_ascii_art

SearchSavior/OpenArc · src/cli/main.py:67

    def _build_ascii_art(cls) -> Text:
        """Build and cache the ASCII art banner."""
        if cls._ascii_art_cache is None:
            # Build entire ASCII art in one go for better performance
            ascii_lines = [
                (" _____                   ___           \n", "blue"),
                ("|  _  |                 / _ \\          \n", "blue"),
                ("| | | |_ __   ___ _ __ / /_\\ \\_ __ ___ \n", "blue"),
                ("| | | | '_ \\ / _ \\ '_ \\|  _  | '__/ __|\n", "blue"),
                ("\\ \\_/ / |_) |  __/ | | | | | | | | (__ \n", "blue"),
                (" \\___/| .__/ \\___|_| |_\\_| |_/_|  \\___|\n", "blue"),
                ("      | |                              \n", "blue"),
                ("      |_|                              \n", "blue"),
                (" \n", "white"),
                (" You know who ELSE uses OpenArc?\n", "white"),
            ]
            
            art = Text()

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…