Expand description
Element detection for TUI applications
This module provides pattern-based and style-based detection of interactive UI elements in terminal output.
Structs§
- Element
- A detected element
- Element
Detector - Element detector
- Position
- Position in the terminal
- Region
- A detected region/box in the terminal
Enums§
- Border
Style - Border styles for box drawing
- Element
Type - Element types that can be detected
- Framework
- Known TUI frameworks
Functions§
- detect_
by_ pattern - Detect elements using pattern matching
- detect_
framework - Detect the TUI framework based on screen content and patterns
- detect_
ink_ elements - Detect Ink-specific elements
- detect_
regions - Detect regions (boxes) in the screen
- find_
modals - Find modal dialogs (regions that appear to be overlay dialogs)
- find_
region_ at - Find the innermost region containing a point