mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-09 21:26:14 +03:00
Properly restore termina current dir when deserializing the project
This commit is contained in:
parent
91f1be213b
commit
4b74f30d0a
@ -752,8 +752,7 @@ impl Item for TerminalView {
|
||||
) -> Task<anyhow::Result<View<Self>>> {
|
||||
let window = cx.window_handle();
|
||||
cx.spawn(|pane, mut cx| async move {
|
||||
let cwd = None;
|
||||
TERMINAL_DB
|
||||
let cwd = TERMINAL_DB
|
||||
.get_working_directory(item_id, workspace_id)
|
||||
.log_err()
|
||||
.flatten()
|
||||
|
Loading…
Reference in New Issue
Block a user