isShiftPressedViaHid function
Whether Shift is currently held down per the macOS HID state.
Web: HID polling is unavailable — returns false (the pre-TUI status
quo: modifier-encoding terminals still deliver Shift+Enter on the wire).
Implementation
bool isShiftPressedViaHid() => false;