terminal: Persist pinned tabs in terminal (#31921)
Closes #31098 Release Notes: - Fixed terminal pinned tab state not persisting across restarts.
This commit is contained in:
parent
3f90bc81bd
commit
f1aab1120d
4 changed files with 19 additions and 4 deletions
|
@ -325,7 +325,6 @@ impl TerminalPanel {
|
|||
.ok();
|
||||
}
|
||||
}
|
||||
|
||||
Ok(terminal_panel)
|
||||
}
|
||||
|
||||
|
@ -393,6 +392,9 @@ impl TerminalPanel {
|
|||
pane::Event::Focus => {
|
||||
self.active_pane = pane.clone();
|
||||
}
|
||||
pane::Event::ItemPinned | pane::Event::ItemUnpinned => {
|
||||
self.serialize(cx);
|
||||
}
|
||||
|
||||
_ => {}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue