From 6279571a82d9dc0a9f515c99f1cf2ad2e417e0cd Mon Sep 17 00:00:00 2001 From: Roi Martin Date: Tue, 3 Feb 2015 17:15:41 +0100 Subject: [PATCH] Fix build --- view.go | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/view.go b/view.go index 4dd4c99..99a8e69 100644 --- a/view.go +++ b/view.go @@ -25,8 +25,8 @@ type View struct { readOffset int readCache string - tainted bool // marks if the viewBuffer must be updated - viewBuffer []viewLine // internal representation of the view's buffer + tainted bool // marks if the viewBuffer must be updated + 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{