aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/nsf
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/nsf')
-rw-r--r--vendor/github.com/nsf/termbox-go/README.md1
-rw-r--r--vendor/github.com/nsf/termbox-go/api.go1
-rw-r--r--vendor/github.com/nsf/termbox-go/termbox.go5
3 files changed, 2 insertions, 5 deletions
diff --git a/vendor/github.com/nsf/termbox-go/README.md b/vendor/github.com/nsf/termbox-go/README.md
index d152da407..e7c57a936 100644
--- a/vendor/github.com/nsf/termbox-go/README.md
+++ b/vendor/github.com/nsf/termbox-go/README.md
@@ -24,6 +24,7 @@ There are also some interesting projects using termbox-go:
- [snake-game](https://github.com/DyegoCosta/snake-game) is an implementation of the Snake game.
- [gone](https://github.com/guillaumebreton/gone) is a CLI pomodoro® timer.
- [Spoof.go](https://github.com/sabey/spoofgo) controllable movement spoofing from the cli
+ - [lf](https://github.com/gokcehan/lf) is a terminal file manager
### API reference
[godoc.org/github.com/nsf/termbox-go](http://godoc.org/github.com/nsf/termbox-go)
diff --git a/vendor/github.com/nsf/termbox-go/api.go b/vendor/github.com/nsf/termbox-go/api.go
index b339e532f..b242ddcf3 100644
--- a/vendor/github.com/nsf/termbox-go/api.go
+++ b/vendor/github.com/nsf/termbox-go/api.go
@@ -343,7 +343,6 @@ func PollEvent() Event {
return event
}
}
- panic("unreachable")
}
// Returns the size of the internal back buffer (which is mostly the same as
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 {