Don't put the unknown command message into history
Even with Norep, it was cluttering the message history buffer.
This commit is contained in:
@@ -3507,7 +3507,7 @@ rhack(int key)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (bad_command) {
|
if (bad_command) {
|
||||||
Norep("Unknown command '%s'.", visctrl(key));
|
custompline(SUPPRESS_HISTORY, "Unknown command '%s'.", visctrl(key));
|
||||||
cmdq_clear(CQ_CANNED);
|
cmdq_clear(CQ_CANNED);
|
||||||
cmdq_clear(CQ_REPEAT);
|
cmdq_clear(CQ_REPEAT);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user