How to capture `Ctrl + Enter` keyboard-event in console on macOS?

Here's another thread on the topic, but there is no posted solution: