aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/nsf/termbox-go/termbox.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/nsf/termbox-go/termbox.go')
-rw-r--r--vendor/github.com/nsf/termbox-go/termbox.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/vendor/github.com/nsf/termbox-go/termbox.go b/vendor/github.com/nsf/termbox-go/termbox.go
index 6e5ba6c8f..c2d86c658 100644
--- a/vendor/github.com/nsf/termbox-go/termbox.go
+++ b/vendor/github.com/nsf/termbox-go/termbox.go
@@ -233,10 +233,7 @@ func send_char(x, y int, ch rune) {
func flush() error {
_, err := io.Copy(out, &outbuf)
outbuf.Reset()
- if err != nil {
- return err
- }
- return nil
+ return err
}
func send_clear() error {