Table of Contents

Enum InputInjectionMode

Namespace
Terminal.Gui.Testing
Assembly
Terminal.Gui.dll

Mode for input injection, controlling how input flows through the system.

public enum InputInjectionMode

Fields

Auto = 2

Automatic mode - uses Direct for simple test scenarios, Pipeline for full driver testing. Recommended default for most tests.

Direct = 0

Direct event injection - bypasses encoding/parsing, preserves all properties. Use for testing View/Application logic with precise control.

Pipeline = 1

Pipeline injection - goes through full encoding/parsing pipeline. Use for testing ANSI encoding/decoding and parser behavior.