mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
macos: relable tabs when config is reloaded
This commit is contained in:
@ -194,8 +194,9 @@ class AppDelegate: NSObject, ObservableObject, NSApplicationDelegate, GhosttyApp
|
|||||||
//MARK: - GhosttyAppStateDelegate
|
//MARK: - GhosttyAppStateDelegate
|
||||||
|
|
||||||
func configDidReload(_ state: Ghostty.AppState) {
|
func configDidReload(_ state: Ghostty.AppState) {
|
||||||
// Config could change keybindings, so update our menu
|
// Config could change keybindings, so update everything that depends on that
|
||||||
syncMenuShortcuts()
|
syncMenuShortcuts()
|
||||||
|
windowManager.relabelTabs()
|
||||||
|
|
||||||
// Config could change window appearance
|
// Config could change window appearance
|
||||||
syncAppearance()
|
syncAppearance()
|
||||||
|
Reference in New Issue
Block a user