mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-20 02:18:01 +00:00
build fix
This commit is contained in:
@@ -152,7 +152,7 @@ export default class TerminalModule {
|
||||
hostApp.newWindow()
|
||||
}
|
||||
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])
|
||||
if (shell) {
|
||||
terminal.openTab(shell)
|
||||
|
Reference in New Issue
Block a user