if globalSettings["infobar"].(bool) {
t.tree.height--
}
+ if globalSettings["keymenu"].(bool) {
+ t.tree.height -= 2
+ }
t.Resize()
if globalSettings["infobar"].(bool) {
t.tree.height--
}
+ if globalSettings["keymenu"].(bool) {
+ t.tree.height -= 2
+ }
t.tree.ResizeSplits()
for i, v := range t.views {
v.Num = i
+ if v.Type == vtTerm {
+ v.term.Resize(v.Width, v.Height)
+ }
}
}
} else {
str += " "
}
- str += t.views[t.CurView].Buf.GetName()
+ buf := t.views[t.CurView].Buf
+ str += buf.GetName()
+ if buf.Modified() {
+ str += " +"
+ }
if i == curTab {
str += "]"
} else {
str += " "
}
- indicies[len(str)-1] = i + 1
+ indicies[Count(str)-1] = i + 1
str += " "
}
return str, indicies