mirror of https://github.com/jroimartin/gocui.git
Fix build
This commit is contained in:
parent
9b25959056
commit
6279571a82
8
view.go
8
view.go
|
@ -26,7 +26,7 @@ type View struct {
|
|||
readCache string
|
||||
|
||||
tainted bool // marks if the viewBuffer must be updated
|
||||
viewBuffer []viewLine // internal representation of the view's buffer
|
||||
viewBuffer [][]rune // internal representation of the view's buffer
|
||||
|
||||
// BgColor and FgColor allow to configure the background and foreground
|
||||
// colors of the View.
|
||||
|
@ -60,12 +60,6 @@ type View struct {
|
|||
Autoscroll bool
|
||||
}
|
||||
|
||||
type viewLine struct {
|
||||
lineX int
|
||||
lineY int
|
||||
line []rune
|
||||
}
|
||||
|
||||
// newView returns a new View object.
|
||||
func newView(name string, x0, y0, x1, y1 int) *View {
|
||||
v := &View{
|
||||
|
|
Loading…
Reference in New Issue