Make Ding public for use from custom key handlers.
Handle Ctrl+C like PowerShell/cmd

Ctrl+C was being processed by the system - fix was to
change the console mode.

After that, to emulate cooked input mode, we return
to the host with an empty buffer so the input is
preserved and the prompt is evaluated again.
Add default mapping for Ctrl+C to Emacs mode