LapisSlides::CastBuilder
Constants
ANSI_REGEX = /\e\[[0-9;?]*[a-zA-Z]/
C_BLUE = "#{ESC}[34m"
C_BOLD = "#{ESC}[1m"
C_CYAN = "#{ESC}[36m"
C_DIM = "#{ESC}[2m"
C_GREEN = "#{ESC}[32m"
C_MAGENTA = "#{ESC}[35m"
C_RED = "#{ESC}[31m"
C_RESET = "#{ESC}[0m"
C_YELLOW = "#{ESC}[33m"
CLEAR_SCREEN = "#{ESC}[2J#{ESC}[H"
CURSOR_HIDE = "#{ESC}[?25l"
CURSOR_HOME = "#{ESC}[H"
CURSOR_SHOW = "#{ESC}[?25h"
ESC = "\e"
Class methods
border_line(left_char : String, fill_char : String, right_char : String, total_width : Int32 = 86) : String
Sourcebuild_all(output_dir : String)
Sourcebuild_cli_lifecycle_cast(output_dir : String)
- CLI Command Center & Scaffolding (Slide 30) - ~30.5s
build_custom_benchmarks_cast(output_dir : String)
- Custom Benchmarking CLI & HTML Report (Slide 70 / 35b_custom_benchmarks) - ~31.0s
build_debug_workflows_cast(output_dir : String)
- Side-by-Side Decompile & Native Debug (Slide 34c) - ~31.0s
build_demo_install_addon_cast(output_dir : String)
- Demo 3: Installing CrShader Addon (Slide 41e) - ~30.5s
build_demo_package_cast(output_dir : String)
- Demo 5: Release Build & Distribution Packaging (Slide 41g) - ~32.0s
build_demo_scaffold_cast(output_dir : String)
- Demo 1: Scaffold & Windows Hot Reload (Slide 41b) - ~31.0s
build_docs_cli_tui_cast(output_dir : String)
Sourcebuild_doctor_cast(output_dir : String)
- Environment Diagnostics & Toolchain Doctor (Slide 30c) - ~30.0s
build_editor_driver_cast(output_dir : String)
- Headless Editor Driver Testing (Slide 36b) - ~31.5s
build_editor_launcher_cast(output_dir : String)
7b. Persistent Editor Launcher & Supervisor (Slide 33b) - ~31.0s
build_fuzzy_palette_cast(output_dir : String)
- Spotlight Command Palette & Typo Recovery (Slide 30b) - ~30.5s
build_interactive_studio_cast(output_dir : String)
Sourcebuild_log_cast(output_dir : String)
- Multi-Channel Log Triage & Fuzzy Search (Slide 34d) - ~31.0s
build_multiplayer_test_cast(output_dir : String)
- Multiplayer Test Simulation Harness (Slide 26f) - ~31.0s
build_r2_crystal_cast(output_dir : String)
- Radare2 Crystal Runtime Inspection (Slide 34g) - ~31.0s
build_r2_lapis_cast(output_dir : String)
- Radare2 Lapis Supervisor & Crash Forensics (Slide 34i) - ~32.0s
build_r2_tui_debugger_cast(output_dir : String)
- Radare2 TUI Debugger Dashboard (Slide 34j) - ~33.0s
build_run_monitor_cast(output_dir : String)
9b. Runtime Performance Monitor (Slide 34e) - ~28.0s
build_scaffold_wizard_cast(output_dir : String)
5b. Project & Addon Scaffolding Wizard (Slide 30d) - ~30.5s
build_sync_targets_cast(output_dir : String)
9c. Multi-Target Synchronization (Slide 34f) - ~30.5s
build_test_runner_cast(output_dir : String)
- Unified Test Runner TUI (Slide 85 / 37_tool_testing_tui.yml) - ~31.5s
fit_visible(str : String, target_width : Int32) : String
Truncates or pads a string with ANSI escape codes so its visible printed width is exactly target_width
header_border(title : String, total_width : Int32 = 86) : String
Sourcerender_bench_modal(title : String, modal_lines : Array(String), initial : Bool = false) : String
Renders an interactive modal drilldown window inside the benchmark dashboard (exactly 86 cols)
render_bench_tui_frame(progress_pct : Int32, active_idx : Int32, log_lines : Array(String), all_done : Bool = false, initial : Bool = false) : String
Renders the Benchmark Dashboard frame (guaranteed exactly 86 cols per line)
render_tui_frame(progress_pct : Int32, active_phase_idx : Int32, log_lines : Array(String), all_done : Bool = false, initial : Bool = false) : String
Renders the Unified Test Suite Dashboard frame (guaranteed exactly 86 cols per line)
render_tui_modal(title : String, modal_lines : Array(String), initial : Bool = false) : String
Renders an interactive modal drilldown window inside the test dashboard (exactly 86 cols)
strip_ansi(str : String) : String
Sourcevisible_width(str : String) : Int32
Source