Table of Contents

Method Detect

Namespace
Terminal.Gui.Drawing
Assembly
Terminal.Gui.dll

Detect(Action<KittyGraphicsSupportResult>)

Detects Kitty graphics protocol support and invokes resultCallback with the result. When support is detected the detector also attempts to resolve Resolution via ANSI queries; if those are unavailable the default 10×20 resolution is used.

public void Detect(Action<KittyGraphicsSupportResult> resultCallback)

Parameters

resultCallback Action<KittyGraphicsSupportResult>

Called when detection is complete.