Module crosshair_widget

Module crosshair_widget 

Source
Expand description

Crosshair Widget - Handles visual cursor rendering on the table

This widget tracks crosshair position changes and ensures the table re-renders the affected cells when the crosshair moves. Since ratatui doesn’t support partial updates, we need to trigger a re-render of at least the affected rows when the crosshair moves.

Structs§

CrosshairPosition
Crosshair position in absolute data coordinates
CrosshairWidget
Crosshair widget for rendering the cursor on the table