Table of Contents

Method StartInputTaskAsync

Namespace
Terminal.Gui.App
Assembly
Terminal.Gui.dll

StartInputTaskAsync(IApplication?)

Initializes all required subcomponents and starts the input thread.

Task StartInputTaskAsync(IApplication? app)

Parameters

app IApplication

Returns

Task

A task that completes when initialization is done

Remarks

This method:

  1. Starts the input thread that reads console input asynchronously
  2. Initializes the main UI loop on the calling thread
  3. Waits for both to be ready before returning