Merge branch 'master' into bugfix-rune-count

This commit is contained in:
Jakub Sobon 2018-06-04 17:43:30 +01:00
commit 405812665a
No known key found for this signature in database
GPG Key ID: F2451A77FB05D3B7
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,8 @@
[![Doc Status](https://godoc.org/github.com/mum4k/termdash?status.png)](https://godoc.org/github.com/mum4k/termdash)
[![Build Status](https://travis-ci.org/mum4k/termdash.svg?branch=master)](https://travis-ci.org/mum4k/termdash)
[![Coverage Status](https://coveralls.io/repos/github/mum4k/termdash/badge.svg?branch=master)](https://coveralls.io/github/mum4k/termdash?branch=master)
[![Go Report Card](https://goreportcard.com/badge/github.com/mum4k/termdash)](https://goreportcard.com/report/github.com/mum4k/termdash)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/mum4k/termdash/blob/master/LICENSE)
# termdash

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)