richMode/enter: fix issue with Shift+Enter