Table of Contents

Method EventsPending

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

EventsPending(bool)

Determines whether there are pending events to be processed.

public bool EventsPending(bool wait = false)

Parameters

wait bool

Returns

bool

Remarks

You can use this method if you want to probe if events are pending. Typically used if you need to flush the input queue while still running some of your own code in your main thread.