ghosttyMask property

int get ghosttyMask

Implementation

int get ghosttyMask {
  var mods = 0;
  if (shiftPressed) {
    mods |= GhosttyModsMask.shift;
  }
  if (controlPressed) {
    mods |= GhosttyModsMask.ctrl;
  }
  if (altPressed) {
    mods |= GhosttyModsMask.alt;
  }
  if (metaPressed) {
    mods |= GhosttyModsMask.superKey;
  }
  return mods;
}