mirror of
https://github.com/eugeny/tabby
synced 2026-08-21 13:26:53 +00:00
fixed profile hotkeys (fixes #995)
This commit is contained in:
@@ -165,7 +165,7 @@ export default class TerminalModule {
|
||||
hostApp.newWindow()
|
||||
}
|
||||
if (hotkey.startsWith('profile.')) {
|
||||
let profiles = await config.store.terminal.getProfiles()
|
||||
let profiles = await terminal.getProfiles()
|
||||
let profile = profiles.find(x => slug(x.name).toLowerCase() === hotkey.split('.')[1])
|
||||
if (profile) {
|
||||
terminal.openTabWithOptions(profile.sessionOptions)
|
||||
|
||||
Reference in New Issue
Block a user