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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user