Merge branch 'main' into window_context_2
This commit is contained in:
commit
c52b6328b7
47 changed files with 3046 additions and 1772 deletions
|
@ -3,6 +3,7 @@ pub mod terminal_button;
|
|||
pub mod terminal_element;
|
||||
|
||||
use std::{
|
||||
borrow::Cow,
|
||||
ops::RangeInclusive,
|
||||
path::{Path, PathBuf},
|
||||
time::Duration,
|
||||
|
@ -541,6 +542,10 @@ impl View for TerminalView {
|
|||
}
|
||||
|
||||
impl Item for TerminalView {
|
||||
fn tab_tooltip_text(&self, cx: &AppContext) -> Option<Cow<str>> {
|
||||
Some(self.terminal().read(cx).title().into())
|
||||
}
|
||||
|
||||
fn tab_content(
|
||||
&self,
|
||||
_detail: Option<usize>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue