mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-12 01:50:27 +09:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user