Skip to content

Commit 3919cf3

Browse files
committed
action: Provide Name() to treat TermPane as Pane
This will add the capability to address the `TermPane` within the tabs, since the tab list only stores panes.
1 parent 26fa15c commit 3919cf3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internal/action/termpane.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ func (t *TermPane) SetID(i uint64) {
8181
t.id = i
8282
}
8383

84+
func (t *TermPane) Name() string {
85+
return t.Terminal.Name()
86+
}
87+
8488
func (t *TermPane) SetTab(tab *Tab) {
8589
t.tab = tab
8690
}

0 commit comments

Comments
 (0)