Module: Clack::Core::Chrome
- Included in:
- Prompt
- Defined in:
- lib/clack/core/chrome.rb
Overview
The chrome around every prompt frame: the guide rail (gray connector, cyan active bar, yellow error bar), the gutters in front of content lines, the header/footer templates, and the keyboard hint footer.
Mixed into Prompt. All helpers are private; subclasses call them without
a receiver from build_frame. #bar, #active_bar, and #bar_end always
return the colored symbol; only #gutter and #guide_line know about
with_guide, so a frame that builds its own lines from bar still renders
exactly as before when guides are on.