diff --git a/README.md b/README.md
index debfd89..69e8645 100644
--- a/README.md
+++ b/README.md
@@ -878,9 +878,9 @@ Frequently asked questions:
- A: Press ? to toggle the help menu. Press q to close help menu.
-- Q: I'm getting the error: `new gocui: termbox: error while reading terminfo data: EOF` when trying to run.
+- Q: I'm getting the error: `new gocui: termbox: error while reading terminfo data: EOF` or the error `termbox: error while reading terminfo data: termbox: unsupported terminal` when trying to run.
- - A: Try setting the environment variable `TERM=screen-256color`
+ - A: Try setting the environment variable `TERM=screen-256color` when starting cointop. E.g. `TERM=screen-256color cointop`
- Q: Does cointop work inside an emacs shell?
diff --git a/vendor/github.com/miguelmota/go-coinmarketcap/pro/v1/coinmarketcap.go b/vendor/github.com/miguelmota/go-coinmarketcap/pro/v1/coinmarketcap.go
index e766261..2a995a4 100644
--- a/vendor/github.com/miguelmota/go-coinmarketcap/pro/v1/coinmarketcap.go
+++ b/vendor/github.com/miguelmota/go-coinmarketcap/pro/v1/coinmarketcap.go
@@ -156,6 +156,7 @@ type CryptocurrencyInfo struct {
type InfoOptions struct {
ID string
Symbol string
+ Slug string
}
// ListingOptions options
@@ -272,6 +273,9 @@ func (s *CryptocurrencyService) Info(options *InfoOptions) (map[string]*Cryptocu
if options.Symbol != "" {
params = append(params, fmt.Sprintf("symbol=%s", options.Symbol))
}
+ if options.Slug != "" {
+ params = append(params, fmt.Sprintf("slug=%s", strings.ToLower(options.Slug)))
+ }
url := fmt.Sprintf("%s/cryptocurrency/info?%s", baseURL, strings.Join(params, "&"))
diff --git a/vendor/modules.txt b/vendor/modules.txt
index 5975652..8345cd2 100644
--- a/vendor/modules.txt
+++ b/vendor/modules.txt
@@ -30,7 +30,7 @@ github.com/mattn/go-colorable
github.com/mattn/go-isatty
# github.com/mattn/go-runewidth v0.0.9
github.com/mattn/go-runewidth
-# github.com/miguelmota/go-coinmarketcap v0.1.6
+# github.com/miguelmota/go-coinmarketcap v0.1.7
github.com/miguelmota/go-coinmarketcap/pro/v1
github.com/miguelmota/go-coinmarketcap/v2
github.com/miguelmota/go-coinmarketcap/v2/types