mirror of
https://github.com/mum4k/termdash.git
synced 2025-04-27 13:48:49 +08:00
Updated doc as per comment.
This commit is contained in:
parent
367af3f86d
commit
1c17cb36f2
@ -155,8 +155,8 @@ func (b Buffer) IsPartial(p image.Point) (bool, error) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// RemWidth returns the remaining with (horizontal cells) available from and
|
// RemWidth returns the remaining width (horizontal row of cells) available
|
||||||
// inclusive of the specified point.
|
// from and inclusive of the specified point.
|
||||||
func (b Buffer) RemWidth(p image.Point) (int, error) {
|
func (b Buffer) RemWidth(p image.Point) (int, error) {
|
||||||
size := b.Size()
|
size := b.Size()
|
||||||
ar, err := area.FromSize(size)
|
ar, err := area.FromSize(size)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user