receiveMouseEventsFlow

fun Terminal.receiveMouseEventsFlow(mouseTracking: MouseTracking = MouseTracking.Normal): Flow<MouseEvent>

Enter raw mode, emit MouseEvents until the flow in cancelled, then exit raw mode.

Parameters

mouseTracking

The type of mouse tracking to enable.