ghosttyMask property
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;
}