1
0
mirror of https://github.com/mum4k/termdash.git synced 2025-04-25 13:48:50 +08:00

Updated doc as per comment.

This commit is contained in:
Jakub Sobon 2018-06-04 16:16:51 +01:00
parent 367af3f86d
commit 1c17cb36f2
No known key found for this signature in database
GPG Key ID: F2451A77FB05D3B7

View File

@ -155,8 +155,8 @@ func (b Buffer) IsPartial(p image.Point) (bool, error) {
}
}
// RemWidth returns the remaining with (horizontal cells) available from and
// inclusive of the specified point.
// RemWidth returns the remaining width (horizontal row of cells) available
// from and inclusive of the specified point.
func (b Buffer) RemWidth(p image.Point) (int, error) {
size := b.Size()
ar, err := area.FromSize(size)