ctrlAt method

LegacyKeyEncoding ctrlAt(
  1. bool v
)

Enables mapping Ctrl+@ to NUL when v is true.

Implementation

LegacyKeyEncoding ctrlAt(bool v) =>
    LegacyKeyEncoding(v ? (bits | _flagCtrlAt) : (bits & ~_flagCtrlAt));