klyn.gui.terminal.ScrollView.handleMouseEvent
method
public override handleMouseEvent(mouse as MouseEvent, localX as Int, localY as Int, viewWidth as Int, viewHeight as Int) as Boolean:
Description

Handles mouse interaction for scrollable text content.

Left button drag selects text. Right button copies the current selection to the terminal clipboard through OSC 52 when the host terminal supports it.

Example
view = ScrollView()
view.text = "First line\nSecond line"