mirror of
https://github.com/zyedidia/micro.git
synced 2024-08-17 16:00:43 +03:00
Compare commits
2 Commits
1a505906cd
...
79e9f8fae0
Author | SHA1 | Date | |
---|---|---|---|
|
79e9f8fae0 | ||
|
a16e33c7f5 |
@ -198,7 +198,7 @@ func (h *BufPane) TabMoveCmd(args []string) {
|
||||
idxTo = util.Clamp(idxTo, 0, len(Tabs.List)-1)
|
||||
|
||||
activeTab := Tabs.List[idxFrom]
|
||||
Tabs.RemoveTab(activeTab.ID())
|
||||
Tabs.RemoveTab(activeTab.Panes[0].ID())
|
||||
Tabs.List = append(Tabs.List, nil)
|
||||
copy(Tabs.List[idxTo+1:], Tabs.List[idxTo:])
|
||||
Tabs.List[idxTo] = activeTab
|
||||
|
Loading…
Reference in New Issue
Block a user