diff --git a/NvimView/Sources/NvimView/NvimView+UiBridge.swift b/NvimView/Sources/NvimView/NvimView+UiBridge.swift index 4c4819fa..e1f3fd10 100644 --- a/NvimView/Sources/NvimView/NvimView+UiBridge.swift +++ b/NvimView/Sources/NvimView/NvimView+UiBridge.swift @@ -508,7 +508,9 @@ extension NvimView { self.bridgeLogger.debug(cwd) self._cwd = URL(fileURLWithPath: cwd) - self.tabBar?.cwd = cwd + gui.async { [self] in + self.tabBar?.cwd = cwd + } self.eventsSubject.onNext(.cwdChanged) }