mirror of https://github.com/jroimartin/gocui.git
Fix typo in view.go
This commit is contained in:
parent
23679ee422
commit
4fb4826188
2
view.go
2
view.go
|
@ -110,7 +110,7 @@ func (v *View) Origin() (x, y int) {
|
||||||
|
|
||||||
// Write appends a byte slice into the view's internal buffer. Because
|
// Write appends a byte slice into the view's internal buffer. Because
|
||||||
// View implements the io.Writer interface, it can be passed as parameter
|
// View implements the io.Writer interface, it can be passed as parameter
|
||||||
// of functions like fmt.FPrintf, fmt.FPrintln, io.Copy, etc. Clear must
|
// of functions like fmt.Fprintf, fmt.Fprintln, io.Copy, etc. Clear must
|
||||||
// be called to clear the view's buffer.
|
// be called to clear the view's buffer.
|
||||||
func (v *View) Write(p []byte) (n int, err error) {
|
func (v *View) Write(p []byte) (n int, err error) {
|
||||||
r := bytes.NewReader(p)
|
r := bytes.NewReader(p)
|
||||||
|
|
Loading…
Reference in New Issue