Table of Contents

Method Write

Namespace
Terminal.Gui.Drivers
Assembly
Terminal.Gui.dll

Write(ReadOnlySpan<char>)

Writes the given text directly to the console. Use to send ansi escape codes etc. Regular screen output should use the IOutputBuffer overload.

public void Write(ReadOnlySpan<char> text)

Parameters

text ReadOnlySpan<char>

Write(IOutputBuffer)

Base interface for Terminal.Gui Driver implementations.

public override void Write(IOutputBuffer buffer)

Parameters

buffer IOutputBuffer

Remarks

There are currently four implementations: UnixDriver, WindowsDriver, DotNetDriver, and FakeDriver

Write(StringBuilder)

Output the contents of the output to the console.

protected override void Write(StringBuilder output)

Parameters

output StringBuilder