1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-13 19:35:47 +01:00

Don't save ex commands to history while feeding keys.

This commit is contained in:
Kris Maglione
2009-06-28 16:57:55 -04:00
parent c4e9e414be
commit 645c446470

View File

@@ -109,6 +109,8 @@ function CommandLine() //{{{
*/ */
save: function () save: function ()
{ {
if (events.feedingKeys)
return;
let str = this.input.value; let str = this.input.value;
if (/^\s*$/.test(str)) if (/^\s*$/.test(str))
return; return;