Skip to content

Commit

Permalink
Change hotkey for 1Y change to "y"
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-anz committed Aug 29, 2021
1 parent 7f2f4c5 commit 79b2fb8
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
25 changes: 25 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Holdings",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "cmd/cointop/cointop.go",
"args": ["holdings"],
"env": {"DEBUG": "yes"}
},
{
"name": "Portfolio",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "cmd/cointop/cointop.go",
"env": {"DEBUG": "yes"}
}
]
}
2 changes: 1 addition & 1 deletion cointop/default_shortcuts.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ func DefaultShortcuts() map[string]string {
"1": "sort_column_1h_change",
"2": "sort_column_24h_change",
"3": "sort_column_30d_change",
"6": "sort_column_1y_change",
"7": "sort_column_7d_change",
"a": "sort_column_available_supply",
"b": "sort_column_balance",
Expand Down Expand Up @@ -70,6 +69,7 @@ func DefaultShortcuts() map[string]string {
"t": "sort_column_total_supply",
"u": "sort_column_last_updated",
"v": "sort_column_24h_volume",
"y": "sort_column_1y_change",
"q": "quit_view",
"Q": "quit_view",
"%": "sort_column_percent_holdings",
Expand Down
2 changes: 1 addition & 1 deletion cointop/table_header.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ var HeaderColumns = map[string]*HeaderColumn{
},
"1y_change": &HeaderColumn{
Slug: "1y_change",
Label: "3[6]5D%",
Label: "1[y]%",
PlainLabel: "1Y%",
},
"total_supply": &HeaderColumn{
Expand Down

0 comments on commit 79b2fb8

Please sign in to comment.