receiveEventsFlow

fun Terminal.receiveEventsFlow(mouseTracking: MouseTracking = MouseTracking.Normal): Flow<InputEvent>

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

Parameters

mouseTracking

The type of mouse tracking to enable.