mirror of
https://github.com/Eugeny/tabby.git
synced 2024-09-20 09:27:16 +03:00
only send args to the most recent window
This commit is contained in:
parent
dd3e7a0f89
commit
86b503093c
@ -139,9 +139,7 @@ export class Application {
|
||||
|
||||
handleSecondInstance (argv: string[], cwd: string): void {
|
||||
this.presentAllWindows()
|
||||
for (let window of this.windows) {
|
||||
window.handleSecondInstance(argv, cwd)
|
||||
}
|
||||
this.windows[this.windows.length - 1].handleSecondInstance(argv, cwd)
|
||||
}
|
||||
|
||||
private setupMenu () {
|
||||
|
Loading…
Reference in New Issue
Block a user