Impossible to distinguish using UIKeyCommand. You need to use the lower-level UIPress API. twitter.com/daringfireball/status/1285353298006925312

1 hour later: I looked into making KeyboardKit map enter as an equivalent for standard Done buttons but it was too fiddly to do as a framework, so I used cmd-return instead.