Table of Contents

Property ShiftedKeyCode

Namespace
Terminal.Gui.Input
Assembly
Terminal.Gui.dll

ShiftedKeyCode

Gets the shifted key code reported by the kitty keyboard protocol (flag 4).

public KeyCode ShiftedKeyCode { get; init; }

Property Value

KeyCode

Remarks

When the terminal reports alternate keys, this contains the key code that would be produced with the current modifier state. For example, Shift+2 on a US layout would report ShiftedKeyCode = (KeyCode)'@'.

Defaults to Null when the terminal does not report alternate keys.

This property does not participate in equality comparisons.