mirror of
https://github.com/vale981/tridactyl
synced 2025-03-05 17:41:40 -05:00
Merge pull request #767 from WorldCodeCentral/master
Add condition for the -b open in background argument for completions
This commit is contained in:
commit
7e8c159a97
1 changed files with 5 additions and 0 deletions
|
@ -67,6 +67,11 @@ export class HistoryCompletionSource extends Completions.CompletionSourceFuse {
|
|||
options = args.slice(0, 2).join(" ")
|
||||
query = args.slice(2).join(" ")
|
||||
}
|
||||
if (query.startsWith("-b")) {
|
||||
let args = query.split(" ")
|
||||
options = args.slice(0, 1).join(" ")
|
||||
query = args.slice(1).join(" ")
|
||||
}
|
||||
} else if (prefix == "winopen ") {
|
||||
if (query.startsWith("-private")) {
|
||||
options = "-private"
|
||||
|
|
Loading…
Add table
Reference in a new issue