Always show full command on terminal tab hover
This commit is contained in:
parent
e5fbc532cc
commit
d566a0df5a
2 changed files with 25 additions and 27 deletions
|
@ -665,7 +665,7 @@ impl Item for TerminalView {
|
|||
type Event = ItemEvent;
|
||||
|
||||
fn tab_tooltip_text(&self, cx: &AppContext) -> Option<SharedString> {
|
||||
Some(self.terminal().read(cx).title().into())
|
||||
Some(self.terminal().read(cx).title(false).into())
|
||||
}
|
||||
|
||||
fn tab_content(
|
||||
|
@ -674,8 +674,7 @@ impl Item for TerminalView {
|
|||
selected: bool,
|
||||
cx: &WindowContext,
|
||||
) -> AnyElement {
|
||||
let title = self.terminal().read(cx).title();
|
||||
|
||||
let title = self.terminal().read(cx).title(true);
|
||||
h_stack()
|
||||
.gap_2()
|
||||
.child(IconElement::new(Icon::Terminal))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue