aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/nsf/termbox-go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2017-01-11 02:33:17 +0800
committerFelix Lange <fjl@twurst.com>2017-01-11 05:33:24 +0800
commitd78f9b834ade0f1ebcf2532bf90d01c85ad50a8e (patch)
treedd03906433e1032a0b185910773206246d8a1556 /vendor/github.com/nsf/termbox-go
parent02b67558e8eaa7b34a28b8dd0223824bbbb52349 (diff)
downloaddexon-d78f9b834ade0f1ebcf2532bf90d01c85ad50a8e.tar
dexon-d78f9b834ade0f1ebcf2532bf90d01c85ad50a8e.tar.gz
dexon-d78f9b834ade0f1ebcf2532bf90d01c85ad50a8e.tar.bz2
dexon-d78f9b834ade0f1ebcf2532bf90d01c85ad50a8e.tar.lz
dexon-d78f9b834ade0f1ebcf2532bf90d01c85ad50a8e.tar.xz
dexon-d78f9b834ade0f1ebcf2532bf90d01c85ad50a8e.tar.zst
dexon-d78f9b834ade0f1ebcf2532bf90d01c85ad50a8e.zip
vendor: update all dependencies except Azure SDK
The Azure SDK doesn't support Go 1.5 anymore. We can't upgrade it until Go 1.8 comes out.
Diffstat (limited to 'vendor/github.com/nsf/termbox-go')
-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 {