Properly restore termina current dir when deserializing the project
This commit is contained in:
parent
91f1be213b
commit
4b74f30d0a
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue