search info readme

Former-commit-id: 05b16dd8ab167d90c496169c83636dc258ad76bb [formerly 05b16dd8ab167d90c496169c83636dc258ad76bb [formerly 9ad6b86cacc1e19ea078a6449ad16080acb00cfa [formerly f53a8bcd670597a74dd6f53f43f24d8119bf294d]]]
Former-commit-id: 19195b1d0c5364a9b23b5f0a0cca7da9cda7e254
Former-commit-id: a9b2b5ea30e36e68a280e18ca8f4c275e9472650 [formerly 4c37362fdd79575670101d3315b7a2dabc6aa588]
Former-commit-id: 83e426ec68cb832363b2ea8dbe54b70415a54248
pull/15/head
Miguel Mota 6 years ago
parent 1497efdffe
commit 9f6ac42058

@ -28,6 +28,7 @@
- 7 day charts
- Color coded
- Custom key bindings
- Search by name or symbol
- Works on macOS, Linux, and Windows
#### Future releases
@ -133,6 +134,7 @@ Key|Action
<kbd>q</kbd>|[q]uit
<kbd>$</kbd>|Go to last page (vim style)
<kbd>?</kbd>|Show help|
<kbd>/</kbd>|Search|
## Config
@ -154,6 +156,7 @@ You can then configure the actions you want for each key:
2 = "sort_column_24h_change"
7 = "sort_column_7d_change"
"?" = "help"
"/" = "open_search"
G = "move_to_page_last_row"
H = "move_to_page_visible_first_row"
L = "move_to_page_visible_last_row"
@ -215,6 +218,7 @@ Action|Description
`move_down`|Move one row down
`next_page`|Go to next page
`open_link`|Open row link
`open_search`|Open search field
`page_down`|Move one row down
`page_up`|Scroll one page up
`previous_page`|Go to previous page
@ -264,6 +268,10 @@ Action|Description
- A: The executable is only ~1.9MB in size.
- Q: How do I search?
- A: The default key to open search is <kbd>/</kbd>. Type the search query after the `/` in the field and hit <kbd>Enter</kbd>.
## Authors
- [Miguel Mota](https://github.com/miguelmota)

@ -11,7 +11,7 @@ func (ct *Cointop) updateStatusbar(s string) {
ct.statusbarview.Clear()
currpage := ct.getCurrentPage()
totalpages := ct.getTotalPages()
base := "[q]uit [?]help [c]hart"
base := "[q]uit [?]help [c]hart [/]search"
fmt.Fprintln(ct.statusbarview, pad.Right(fmt.Sprintf("%v [← →]page %v/%v %s", base, currpage, totalpages, s), ct.maxtablewidth, " "))
})
}

Loading…
Cancel
Save