mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 15:27:57 +01:00
Use completion.buffer for tabs.switchTo/:buffer!.
--HG-- extra : rebase_source : 91bb7fa4c4573048721f65c3aa871370300e7979
This commit is contained in:
@@ -1177,7 +1177,7 @@ const Commands = Module("commands", {
|
||||
return;
|
||||
}
|
||||
|
||||
[prefix] = args.commandString.match(/^(?:\w*[\s!])?\s*/);
|
||||
[, prefix] = args.commandString.match(/^[\s\d]*((?:\w*[\s!])?\s*)/);
|
||||
let cmdContext = context.fork(command.name, prefix.length);
|
||||
try {
|
||||
if (!cmdContext.waitingForTab) {
|
||||
|
||||
Reference in New Issue
Block a user