module RatatuiRuby::Symbols::Scrollbar
Scrollbar symbol sets for the Scrollbar widget.
Scrollbars need consistent visual elements: a track, a thumb, and arrow indicators. Memorizing Unicode scroll characters is tedious and error-prone.
This module exposes predefined sets with different visual styles. Use them with the Scrollbar widget to customize its appearance.
Note: Uses begin_char and end_char instead of Rust’s begin/end to avoid Ruby reserved word conflicts.
Examples
# Use DOUBLE_VERTICAL for bold vertical scrollbars (default) scrollbar = tui.scrollbar(symbols: Symbols::Scrollbar::DOUBLE_VERTICAL) # Use VERTICAL for lighter appearance scrollbar = tui.scrollbar(symbols: Symbols::Scrollbar::VERTICAL)
Constants
- DOUBLE_HORIZONTAL
-
Double-line horizontal scrollbar with triangle arrows.
- DOUBLE_VERTICAL
-
Double-line vertical scrollbar with triangle arrows.
- HORIZONTAL
-
Single-line horizontal scrollbar with arrow characters.
- VERTICAL
-
Single-line vertical scrollbar with arrow characters.