terminal: Do not show multibuffer hint when in centered pane (#20137)
Co-Authored-by: Bennet <bennet@zed.dev>  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:
@@ -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()))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user