Update readme

This commit is contained in:
Zachary Yedidia
2016-08-20 13:02:19 -07:00
parent 5ff1917f20
commit 8f51fe84ae
4 changed files with 28 additions and 25 deletions

View File

@@ -89,8 +89,8 @@ func NewView(buf *Buffer) *View {
return NewViewWidthHeight(buf, screenW, screenH-1)
}
// NewViewWidthHeight returns a new view with the specified width and height percentages
// Note that w and h are percentages not actual values
// NewViewWidthHeight returns a new view with the specified width and height
// Note that w and h are raw column and row values
func NewViewWidthHeight(buf *Buffer, w, h int) *View {
v := new(View)