1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-22 07:45:45 +01:00

Fix using :command from the command line. Closes issue #67.

This commit is contained in:
Kris Maglione
2010-10-12 13:41:01 -04:00
parent 6907ae130e
commit 2e3f47b19e
4 changed files with 10 additions and 8 deletions

View File

@@ -741,8 +741,6 @@ const Events = Module("events", {
function isEscape(key) key == "<Esc>" || key == "<C-[>";
function killEvent() {
if (/key|input/.test(event.type))
util.dumpStack();
event.preventDefault();
event.stopPropagation();
}
@@ -871,7 +869,6 @@ const Events = Module("events", {
// only follow a map if there isn't a longer possible mapping
// (allows you to do :map z yy, when zz is a longer mapping than z)
else if (map && !event.skipmap && candidates.length == 0) {
util.dump(map, this._input);
this._input.pendingMap = null;
this._input.count = parseInt(countStr, 10);
if (isNaN(this._input.count))