Table of Contents

Method RunMainLoopIteration

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

RunMainLoopIteration(ref RunState, bool, ref bool)

Run one iteration of the MainLoop.

public static void RunMainLoopIteration(ref Application.RunState state, bool wait, ref bool firstIteration)

Parameters

state Application.RunState

The state returned by Begin(Toplevel).

wait bool

If true will execute the runloop waiting for events. If true will return after a single iteration.

firstIteration bool

Set to true if this is the first run loop iteration. Upon return, it will be set to false if at least one iteration happened.