#!/usr/bin/env bash # ============================================================================ # BLACKROAD OS, INC. - PROPRIETARY AND CONFIDENTIAL # Copyright (c) 2025-2026 BlackRoad OS, Inc. All Rights Reserved. # # This code is the intellectual property of BlackRoad OS, Inc. # AI-assisted development does not transfer ownership to AI providers. # Unauthorized use, copying, or distribution is prohibited. # NOT licensed for AI training or data extraction. # ============================================================================ # Fixed br-container with proper escape handling # Colors using printf instead of echo -e c_pink() { printf '\033[38;5;205m'; } c_blue() { printf '\033[38;5;75m'; } c_purple() { printf '\033[38;5;141m'; } c_orange() { printf '\033[38;5;208m'; } c_gray() { printf '\033[38;5;240m'; } c_white() { printf '\033[38;5;255m'; } c_reset() { printf '\033[0m'; } c_clear() { printf '\033[2J\033[H'; } # Box drawing TL='╔' TR='╗' BL='╚' BR='╝' H='═' V='║' CROSS='╬' T_DOWN='╦' T_UP='╩' T_RIGHT='╠' T_LEFT='╣' grid_layout() { local rows="${1:-2}" local cols="${2:-2}" local width="${3:-80}" local height="${4:-24}" local cell_width=$((width / cols)) local cell_height=$((height / rows)) c_clear c_pink; printf "Grid Layout: ${rows}×${cols}\n\n"; c_reset # Draw grid for ((r=0; r