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