mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-30 06:37:14 +09:00
move to new tab
This commit is contained in:
@@ -333,7 +333,7 @@ func NewTab(args []string) {
|
||||
tab := NewTabFromView(NewView(NewBuffer(file, filename)))
|
||||
tab.SetNum(len(tabs))
|
||||
tabs = append(tabs, tab)
|
||||
curTab++
|
||||
curTab = len(tabs) - 1
|
||||
if len(tabs) == 2 {
|
||||
for _, t := range tabs {
|
||||
for _, v := range t.views {
|
||||
|
||||
Reference in New Issue
Block a user