removed logs
This commit is contained in:
parent
85dbadcaff
commit
f72c9e7aa3
@ -1,7 +1,6 @@
|
||||
package buf2d
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strings"
|
||||
)
|
||||
|
||||
@ -96,8 +95,6 @@ func (b *Buffer) Sub(x, y, w, h int) *Buffer {
|
||||
data[dy] = col[x : x+w]
|
||||
}
|
||||
|
||||
fmt.Println(data)
|
||||
|
||||
// make buffer
|
||||
return &Buffer{
|
||||
data: data,
|
||||
|
@ -1,7 +1,5 @@
|
||||
package buf2d
|
||||
|
||||
import "fmt"
|
||||
|
||||
// WriteString writes a whole string to the buffer at position (x,y)
|
||||
// no word wrap is applied at all. If the string does not fit, it will be truncated
|
||||
func (b *Buffer) WriteString(str string, x, y int) {
|
||||
@ -9,7 +7,6 @@ func (b *Buffer) WriteString(str string, x, y int) {
|
||||
if x+dx >= b.width {
|
||||
return
|
||||
}
|
||||
fmt.Println(x+dx, y, string(r))
|
||||
b.Set(x+dx, y, r)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user