Skip to main content

MapKeyHelpEntry

One line of the keyboard help. Both parts are a DefinitionText: a message key (the SDK's own lines), a host-keyed text or a plain string (a host's own extra lines).

This is an interface exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import type { MapKeyHelpEntry } from "@mapcairn/core";

interface MapKeyHelpEntry

Properties​

description​

readonly description: DefinitionText;

What the keys do, as a sentence without a trailing full stop.

keys​

readonly keys: DefinitionText;

The key or keys, such as Shift + arrows.

See also​

Source: packages/core/src/keyboard/keyboard.ts:106