Provide glyph and symbol helpers for console rendering
Source: target-root/usr/local/lib/solidgroundux/common/ui-glyphs.sh
Provide glyph and symbol helpers for console rendering
Internal functions
Description
Defines reusable glyphs, symbols, and character helpers for use in console output across the SolidGroundUX framework.
The library:
- Provides box-drawing characters and layout elements
- Defines commonly used symbols (checkmarks, arrows, separators, etc.)
- Encapsulates Unicode and ASCII fallbacks where needed
- Supports consistent visual language across all UI components
Design principles
- Centralize glyph definitions to avoid duplication
- Prefer readability and consistency over decorative complexity
- Allow graceful fallback for terminals with limited Unicode support
- Keep rendering concerns separate from glyph definition
Role in framework
- Foundational visual layer used by ui.sh and related UI modules
- Supports consistent styling across all console tools
Non-goals
- Rendering logic or layout behavior
- Terminal capability detection beyond basic fallback handling
- Theme or color management
Glyph definitions
These variables are display constants only; rendering and color handling live in UI modules. Values are documented from their Bash assignments.
Glyphs — Light line drawing
Glyphs — Double line drawing
Glyphs — Common characters
Glyphs — Math / comparison
Glyphs — Keyboard hints
Glyphs — Greek letters