summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buffer.cpp3
-rw-r--r--config.cpp2
2 files changed, 3 insertions, 2 deletions
diff --git a/buffer.cpp b/buffer.cpp
index 6fa7420..182c285 100644
--- a/buffer.cpp
+++ b/buffer.cpp
@@ -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();
}
}
diff --git a/config.cpp b/config.cpp
index 77e3ed5..efe60e2 100644
--- a/config.cpp
+++ b/config.cpp
@@ -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"}},