@@ -14,7 +14,7 @@ func (m *Model) Draw() {
screen := layout.RectFromScren(m.Screen)
main := layout.Rect{
X: screen.X,
- Y: screen.Y + 1,
+ Y: screen.Y,
Width: screen.Width,
Height: screen.Height - 2,
}
@@ -84,7 +84,7 @@ func (m *Model) DrawContainer(c *layout.Container, rect layout.Rect) {
rect = layout.Rect{
X: rect.X,
- Y: rect.Y,
+ Y: rect.Y + 1,
Width: rect.Width,
Height: rect.Height,
@@ -64,8 +64,12 @@ func NewContainerEmpty() Container {
Buffers: []int{0},
ActiveIdx: 0,
},
+ ContainerBuffers{
+ Buffers: []int{0},
+ ActiveIdx: 0,
+ },
- Split: SplitHorizontal,
+ Split: SplitVertical,
ActiveChildIdx: 0,