mirror of
https://github.com/zyedidia/micro.git
synced 2025-06-18 14:55:38 -04:00
command: Apply small cosmetics to openTerm()
This commit is contained in:
parent
63b6a1e6cf
commit
58b6917526
@ -1073,8 +1073,8 @@ func (h *BufPane) openTerm(args []string, newtab bool) {
|
|||||||
h.AddTab()
|
h.AddTab()
|
||||||
id = MainTab().Panes[pane].ID()
|
id = MainTab().Panes[pane].ID()
|
||||||
} else {
|
} else {
|
||||||
for i, p := range h.tab.Panes {
|
for i, p := range MainTab().Panes {
|
||||||
if p.ID() == h.ID() {
|
if p.IsActive() {
|
||||||
pane = i
|
pane = i
|
||||||
id = p.ID()
|
id = p.ID()
|
||||||
p.Close()
|
p.Close()
|
||||||
|
Loading…
Reference in New Issue
Block a user