Merge pull request #1356 from zed-industries/differentiate-same-tab-titles

Differentiate among tabs with the same name
This commit is contained in:
Antonio Scandurra 2022-07-15 08:30:22 +02:00 committed by GitHub
commit d89465c451
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 248 additions and 28 deletions

View file

@ -324,7 +324,12 @@ impl View for Terminal {
}
impl Item for Terminal {
fn tab_content(&self, tab_theme: &theme::Tab, cx: &gpui::AppContext) -> ElementBox {
fn tab_content(
&self,
_detail: Option<usize>,
tab_theme: &theme::Tab,
cx: &gpui::AppContext,
) -> ElementBox {
let settings = cx.global::<Settings>();
let search_theme = &settings.theme.search; //TODO properly integrate themes