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.
This commit is contained in:
parent
26fa15c147
commit
3919cf399f
1 changed files with 4 additions and 0 deletions
|
@ -81,6 +81,10 @@ func (t *TermPane) SetID(i uint64) {
|
|||
t.id = i
|
||||
}
|
||||
|
||||
func (t *TermPane) Name() string {
|
||||
return t.Terminal.Name()
|
||||
}
|
||||
|
||||
func (t *TermPane) SetTab(tab *Tab) {
|
||||
t.tab = tab
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue