mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-27 12:54:42 +00:00
terminal: Do not show multibuffer hint when in centered pane (#20137)
Co-Authored-by: Bennet <bennet@zed.dev> ![image](https://github.com/user-attachments/assets/581f493e-aa9b-4767-8029-6ab83755336b) Release Notes: - Fixed an issue where the multibuffer hint was shown when terminal was in centered mode Co-authored-by: Bennet <bennet@zed.dev>
This commit is contained in:
parent
95259bf9fe
commit
de2483e132
1 changed files with 4 additions and 0 deletions
|
@ -1131,6 +1131,10 @@ impl Item for TerminalView {
|
|||
false
|
||||
}
|
||||
|
||||
fn is_singleton(&self, _cx: &AppContext) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn as_searchable(&self, handle: &View<Self>) -> Option<Box<dyn SearchableItemHandle>> {
|
||||
Some(Box::new(handle.clone()))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue