Skip to main content

Module mouse_select

Module mouse_select 

Source
Expand description

Mouse text selection for fullscreen TUI.

When mouse capture is enabled (for scroll wheel), native terminal text selection is unavailable. This module implements click-drag selection in the history panel with automatic clipboard copy.

Design: line-granularity selection with character-level endpoints. The user clicks and drags in the history area; selected text is highlighted with inverted colors. On mouse release, the selection is copied to clipboard automatically.