yg070520@sina.com
0bcca68982
修改部分逻辑,使用带用户名密码代理
1 year ago
yg070520@sina.com
56e6e0a711
优化显示,yahoo API接口修复
1 year ago
yg070520@sina.com
a9f4de28d0
mop本地适配提交
2 years ago
root
bcc5893957
Fix for not scrolling to all lines, changing screen.max calculation.
3 years ago
Devansh Agarwal
5ed19c5d61
Write screen.height + 1 lines
3 years ago
root
69865574e8
Redraw market without fetch on resize.
3 years ago
root
5070eb61f4
Scrolling improvements and loading change.
...
Load market before quotes so something appears on screen quickly.
Using screen.max to prevent scrolling off the screen.
3 years ago
root
83b716e9a4
Scrolling fixes
...
Ensure scrolling is not interrupted by quotes ticker.
Redraw on Home/End.
Prevent scrolling too far down beyond the quotes.
3 years ago
root
4512f39638
Improving draw()
...
Improving efficiency for drawing quotes with offset.
3 years ago
root
7090a2c0d5
Scrolling performance - redraw old quotes.
...
Rather than fetching quotes each time we need to redraw them becuase the
user has scrolled the screen, just redraw the old quotes.
3 years ago
root
09551a6e71
Scrolling performance improvement.
...
Every time the user scrolls, DrawLine is called many times. Each time
this happens, termbox.Flush is called, leading to unnecessary cpu usage.
This is eliminated by only calling termbox.Flush at the end of all the
DrawLine calls.
3 years ago
root
6f57bd3697
Fixing residual characters.
...
Fixing residual characters issue at end of list, with screen size.
Increasing keyboard buffer size
Increasing steps in a scroll, similar to htop
3 years ago
root
4a080bfc3f
Scroll top/bottom with Home and End keys
...
* Allows the use of the Home/End keys in order to scroll to the top or
bottom of the list of stocks.
3 years ago
root
e1f62d6afc
Improved scrolling.
...
* Added scrolling with scroll wheel on mouse.
* Added scrolling with vim style j/k keys.
* Changed scrolling so that it is more smooth and the whole screen is
not redrawn each time
* Changed channel keyboardQueue to a buffered queue, so there are not
too many scroll requests, and the draw commands can be done once the
queue is empty.
* Added UpDownJump in profile, so user can set how much PgUp/PgDown jumps
* Have not tested with a _huge_ number of stocks in ticker, probably
worth doing
3 years ago
root
6f78b90964
Adding scroll feature
...
Adding an 'offset' to the quotes draw function in screen.go in order to
allow moving down the list of tickers, using PgUp/PgDown or the Up/Down
arrow keys.
3 years ago
joce
3df70dc52c
Add sementic colors for time, header and "default"
3 years ago
joce
dbd989c894
Add semantic markup
3 years ago
joce
e3464aca1f
Fix typos
3 years ago
Adam Hayes
09f9234e7b
Fixed bug where quotes list did not clear when shortened.
...
If the quotes list gets shorter (e.g. by adding a filter), then display
now overwrites the no-longer-updated quotes with blank lines. See issue
#85 in the mop-tracker/mop repo.
3 years ago
Brandon Lee Camilleri
52ff591be6
Update screen.go
5 years ago
Brandon Lee Camilleri
041303e824
Using original Termbox-Go
...
952f1703c3
5 years ago
Hantao Cui
7037a19e20
Display correct time zone name
8 years ago
Michael Dvorkin
83e9055ce8
Update copyright year
9 years ago
Michael Dvorkin
bc666ec165
omg gofmt
10 years ago
Michael Dvorkin
b9050272ed
Refactored for more idiomatic Go
10 years ago
Michael Dvorkin
57fdbbecab
Added help text for the pause command
11 years ago
Michael Dvorkin
5e764402b9
More robust pause implementation
11 years ago
Michael Dvorkin
38d5129ff2
Moved paused rendering to screen
11 years ago
Michael Dvorkin
ebde4db119
More golint sweeping of screen
11 years ago
Michael Dvorkin
1bc102f7ee
Use generic screen.Draw() to display current time
11 years ago
Michael Dvorkin
89347a040e
Initial golint sweep for screen.go
11 years ago
Michael Dvorkin
1152285520
Refactored to avoid recompiling templates on each refresh
11 years ago
Michael Dvorkin
391520c95a
Added LICENSE
11 years ago
Michael Dvorkin
9322ab6301
Forked nsf/termbox-go to freeze at michaeldv/termbox-go
11 years ago
Michael Dvorkin
61f8d2dc70
Call Reorder and Regroup straight from profile
11 years ago
Michael Dvorkin
a79b4605df
No updates when the list of tickers is empty
11 years ago
Michael Dvorkin
b0c4dd0fa9
Added help screen
11 years ago
Michael Dvorkin
11dea8282b
Restructured source directory tree
11 years ago
Michael Dvorkin
00a7ee406d
Some more markup tweaks
11 years ago
Michael Dvorkin
86037e627d
Refactored markup
11 years ago
Michael Dvorkin
7668f80e41
Initial implementation of column editor
12 years ago
Michael Dvorkin
c7e2456ced
Made screen.Draw() to accept variable number of arguments
12 years ago
Michael Dvorkin
9695ec3ad0
Initial formatter refactoring
12 years ago
Michael Dvorkin
d20bd3e822
Minor simplification
12 years ago
Michael Dvorkin
cef05232a6
Refactored quotes
12 years ago
Michael Dvorkin
fd46f19683
Refactored Market
12 years ago
Michael Dvorkin
0a9ae0fea8
Refactored screen
12 years ago
Michael Dvorkin
a63708a82b
Some cleanup
12 years ago
Michael Dvorkin
8f727f1204
Added basics of line editor
12 years ago
Michael Dvorkin
327c3e256d
Added market update goroutine
12 years ago