mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-08 07:24:12 +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 ()
|
||||
{
|
||||
if (events.feedingKeys)
|
||||
return;
|
||||
let str = this.input.value;
|
||||
if (/^\s*$/.test(str))
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user