Skip to content

Commit

Permalink
Merge gocui#188
Browse files Browse the repository at this point in the history
  • Loading branch information
Alkorin committed Feb 16, 2019
2 parents bc74314 + a967193 commit 8aa3c8d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 3 additions & 1 deletion edit.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

package gocui

import "errors"
import (
"errors"
)

const maxInt = int(^uint(0) >> 1)

Expand Down
5 changes: 4 additions & 1 deletion gui.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package gocui
import (
"errors"

"github.com/nsf/termbox-go"
termbox "github.com/nsf/termbox-go"
)

var (
Expand Down Expand Up @@ -408,6 +408,9 @@ func (g *Gui) consumeevents() error {
default:
return nil
}
if err := g.flush(); err != nil {
return err
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion view.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"io"
"strings"

"github.com/nsf/termbox-go"
termbox "github.com/nsf/termbox-go"
)

// A View is a window. It maintains its own internal buffer and cursor
Expand Down

0 comments on commit 8aa3c8d

Please sign in to comment.