ghosttyTerminalLogicalKey function

GhosttyKey? ghosttyTerminalLogicalKey(
  1. LogicalKeyboardKey key
)

Resolves a Flutter logical key to a Ghostty key enum when it should be encoded as a terminal special key.

Implementation

GhosttyKey? ghosttyTerminalLogicalKey(LogicalKeyboardKey key) {
  return ghosttyTerminalLogicalKeyMap[key];
}