mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-22 04:19:54 +00:00
build fix
This commit is contained in:
parent
9b6a09129c
commit
7b33d89032
@ -152,7 +152,7 @@ export default class TerminalModule {
|
|||||||
hostApp.newWindow()
|
hostApp.newWindow()
|
||||||
}
|
}
|
||||||
if (hotkey.startsWith('shell.')) {
|
if (hotkey.startsWith('shell.')) {
|
||||||
let shells = await terminal.shells$
|
let shells = await terminal.shells$.toPromise()
|
||||||
let shell = shells.find(x => x.id === hotkey.split('.')[1])
|
let shell = shells.find(x => x.id === hotkey.split('.')[1])
|
||||||
if (shell) {
|
if (shell) {
|
||||||
terminal.openTab(shell)
|
terminal.openTab(shell)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user