diff options
-rw-r--r-- | buffer.cpp | 3 | ||||
-rw-r--r-- | config.cpp | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -192,7 +192,8 @@ void Buffer::handleCommand(const Command &cmd){ } else if(cmd[0]=="cancel"){ bel(); //nothing to cancel, apparently } else { - THROW("Unknown command: "+cmd[0]); + cerr<<"Unknown command: "<<cmd[0]<<endl; + bel(); } } @@ -9,7 +9,7 @@ using namespace std; KeyInputMachine global_keyinput({ - {{KEY_CTRL+'Q'},{"quit_app"}}, + {{KEY_CTRL+'Q',KEY_CTRL+'Q'},{"quit_app"}}, {{KEY_ALT+';'},{"display_prompt"}}, {{KEY_CTRL+'S'},{"save_file"}}, {{KEY_CTRL+'O'},{"open_prompt"}}, |