summaryrefslogtreecommitdiff
path: root/buffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'buffer.cpp')
-rw-r--r--buffer.cpp3
1 files changed, 2 insertions, 1 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();
}
}