xA/xM: refresh buffer list on dehighlight

This commit is contained in:
Přemysl Eric Janouch 2024-11-14 11:03:22 +01:00
parent 9c9776bacd
commit a62ed5bbac
Signed by: p
GPG Key ID: A0420B94F92B9493
2 changed files with 2 additions and 0 deletions

View File

@ -1499,6 +1499,7 @@ func main() {
if b := bufferByName(bufferCurrent); b != nil {
b.highlighted = false
refreshIcon()
refreshBufferList()
}
})
a.Lifecycle().SetOnExitedForeground(func() {

View File

@ -1203,6 +1203,7 @@ class WindowDelegate: NSObject, NSWindowDelegate {
b.highlighted = false
refreshIcon()
refreshBufferList()
}
// Buffer indexes rotated to start after the current buffer.