f83bdadfa8
When SIGINT signal is raised, the CK_Cancel message is handled by dlg_execute_cmd() and midnight_dlg is closed. The solution: CK_Cancel is sent to current dialog via callback, and if current dialog doesn't handle CK_Cancel message, then handle it with common way using dlg_execute_cmd(). Since Ctrl-g is used to generate SIGINT in MC, remove this shortcut from all sections of keymaps except the [dialog] section. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>