Skip to content

KgpAction ​

Namespace: Hex1b

Assembly: Hex1b.dll

The action type for a KGP (Kitty Graphics Protocol) command. Specified by the 'a' key in the control data.

csharp
public enum KgpAction

Fields ​

AnimationControl ​

Control animation playback (a=a).

Returns: KgpAction

csharp
AnimationControl = 6

AnimationFrame ​

Transmit animation frame data (a=f).

Returns: KgpAction

csharp
AnimationFrame = 5

Compose ​

Compose animation frames (a=c).

Returns: KgpAction

csharp
Compose = 7

Delete ​

Delete images or placements (a=d).

Returns: KgpAction

csharp
Delete = 4

Put ​

Display a previously transmitted image (a=p).

Returns: KgpAction

csharp
Put = 3

Query ​

Query terminal support without storing image (a=q).

Returns: KgpAction

csharp
Query = 2

Transmit ​

Transmit image data without displaying (a=t, default).

Returns: KgpAction

csharp
Transmit = 0

TransmitAndDisplay ​

Transmit image data and display immediately (a=T).

Returns: KgpAction

csharp
TransmitAndDisplay = 1

Released under the MIT License.