mirror of
https://github.com/qvacua/vimr.git
synced 2024-11-25 14:13:04 +03:00
fix race on lcd / cwd
must be done in main thread for access to NSTextView’s string rep
This commit is contained in:
parent
16929f2415
commit
5406bc54af
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user