without go

Former-commit-id: 4ef1ad9e72a4494b356268d6afffaf290e5de92b [formerly 4ef1ad9e72a4494b356268d6afffaf290e5de92b [formerly 6943d907360a38d05493ed6ffb013372622bdf37 [formerly c6f4481c1f]]]
Former-commit-id: 67405ded07d60e68fb6b49bfc8756df1d164513a
Former-commit-id: 2fa32a555b25301e362046e180268e7b4f9b0cd8 [formerly 59ce7e1e2462b2951f3454b9ad06e49c82e61099]
Former-commit-id: 27719689f33a1f97efbf74b893cba1e11ea90457
pull/15/head
Miguel Mota 6 years ago
parent f446e71c7b
commit a907f29789

@ -1,6 +1,6 @@
MIT license
Copyright (C) 2015 Miguel Mota
Copyright (C) 2017 Miguel Mota
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in

@ -4,6 +4,7 @@ all:
run:
go run cointop.go keybindings.go navigation.go sort.go layout.go status.go chart.go table.go
# http://macappstore.org/upx
build: clean
go build -ldflags "-s -w" -o bin/cointop && upx bin/cointop

@ -16,7 +16,7 @@ Make sure to have [golang](https://golang.org/) installed, then do:
go install github.com/miguelmota/cointop
```
### Alternatively
### Alternatively (without go)
```
sudo curl -s https://git.io/vxKUA | bash
@ -85,6 +85,10 @@ List of shortcuts:
export PATH=$PATH:$GOPATH/bin
```
## Author
[Miguel Mota](https://github.com/miguelmota)
## License
MIT
Released under the MIT license.

@ -59,7 +59,7 @@ func (ct *Cointop) fetchData() ([]*apitypes.Coin, error) {
func (ct *Cointop) updateMarket() error {
maxX, _ := ct.g.Size()
s := "barfoo"
s := "foo"
fmt.Fprintln(ct.marketview, pad.Right(fmt.Sprintf("[q]uit %s", s), maxX, " "))
return nil
}

Loading…
Cancel
Save