Move Tab to extra

This commit is contained in:
gizak 2015-10-20 21:45:28 -04:00
parent 6246586bbd
commit c30bf1612a
3 changed files with 101 additions and 76 deletions

View File

@ -140,3 +140,23 @@ func (d *Block) chopOverflow(ps []Point) []Point {
} }
return nps return nps
} }
func (b Block) InnerWidth() int {
return b.innerWidth
}
func (b Block) InnerHeight() int {
return b.innerHeight
}
func (b Block) InnerX() int {
return b.innerX
}
func (b Block) InnerY() int {
return b.innerY
}
func (b *Block) Align() {
b.align()
}

View File

@ -1,7 +1,8 @@
package main package main
import ( import (
"github.com/marigs/termui" "github.com/gizak/termui"
"github.com/gizak/termui/extra"
) )
func main() { func main() {