Nobody types em-dashes.
On Linux (maybe only certain distros, not sure) the keys are different,
but you can enable a Compose key and enable special character keybinds as well.
For example on Mint:
en–dash is "<compose> <minus> <minus> <period>"
em—dash is "<compose> <minus> <minus> <minus>"Though true I would have spaces around it.
edit: failed to compile. missing semicolon
On Mac, it's configured by default: <option>+<shift>+dash
It would really be disappointing if typographic pedants start being falsely accused of being AI.