Skip to main content

Module detection

Module detection 

Source
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
ElementDetector
Element detector
Position
Position in the terminal
Region
A detected region/box in the terminal

Enums§

BorderStyle
Border styles for box drawing
ElementType
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