joce
62ed00ed4e
Fix for #97 : loading invalid config wipes file
...
Attempting to load an invalid config file will wipe the existing config, leaving the user with an empty config.
This change adds a check when an invalid file is loaded, and asks the user if the invalid config file should be overwritten.
If the user chooses `yes`, then the default config is loaded instead, and the existing config will be overwritten with it.
If the user chooses `no`, then the program exits.
Note this is intended only for the "interactive" mode (the only one existing right now). If and when we go forward with the suggestion in from issue #88 , there should be no prompt, just an error message on stderr.
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
2907bb3016
Fix version number to 1.0.0 where needed
...
The SHA1 still needs to be updated in the `homebrew\mop.rb` file.
Also, accepting these changes might entails that version will now be 1.0.1.
Update accordingly.
4 years ago
WO
6e2e4edd03
don't init screen before it's necessary
4 years ago
Adam Hayes
635e467e7a
Added fixes for crashing on bad filter
...
* Does not save profile in the SetFilter function.
* Saves profile on exit (exit from main loop).
* Clears filter string if it is found to be invalid in the Apply
function.
4 years ago
MendelGusmao
83e58ecb15
Implement expression-based filtering
6 years ago
MendelGusmao
9d93ee47cd
Add support for specifying a configuration file
6 years ago
Brandon Lee Camilleri
bf4ab668e0
Update main.go
6 years ago
Brandon Lee Camilleri
6e1955b6f6
2019
6 years ago
Brandon Lee Camilleri
a2576712c5
Using original Termbox-Go
...
952f1703c3
6 years ago
alice-margatroid
5615b38405
Okay I think I got it now fixed
...
See my previous pull request. It now compiled for my armhf system.
Thanks for mop anyways.
9 years ago
Michael Dvorkin
d4ad5ab7d5
Update Makefile to follow build/install conventions for Go packages
10 years ago
Michael Dvorkin
83e9055ce8
Update copyright year
10 years ago
Michael Dvorkin
bc666ec165
omg gofmt
10 years ago
Michael Dvorkin
51b6250fcf
Idiomatic Go
10 years ago
Michael Dvorkin
b9050272ed
Refactored for more idiomatic Go
10 years ago
Michael Dvorkin
57fdbbecab
Added help text for the pause command
12 years ago
Michael Dvorkin
5e764402b9
More robust pause implementation
12 years ago
Michael Dvorkin
3167e1866e
Reset paused state when dismissing help
12 years ago
Michael Dvorkin
38d5129ff2
Moved paused rendering to screen
12 years ago
Michael Dvorkin
e048f15df6
Initial implementation of pause
12 years ago
Michael Dvorkin
ae1b141ccb
Pressing 'q' quits the program
12 years ago
Michael Dvorkin
1bc102f7ee
Use generic screen.Draw() to display current time
12 years ago
Michael Dvorkin
f1548e6bac
Started making golint happy...
12 years ago
Michael Dvorkin
540797e6ea
Added README
12 years ago
Michael Dvorkin
391520c95a
Added LICENSE
12 years ago
Michael Dvorkin
9322ab6301
Forked nsf/termbox-go to freeze at michaeldv/termbox-go
12 years ago
Michael Dvorkin
61f8d2dc70
Call Reorder and Regroup straight from profile
12 years ago
Michael Dvorkin
af77896323
Simplified grouping by advancing/declining
12 years ago
Michael Dvorkin
8e3b2292ce
Small tweaks
12 years ago
Michael Dvorkin
b0c4dd0fa9
Added help screen
12 years ago
Michael Dvorkin
11dea8282b
Restructured source directory tree
12 years ago
Michael Dvorkin
4d4ed17228
Show sort order indicator in the header
12 years ago
Michael Dvorkin
7668f80e41
Initial implementation of column editor
12 years ago
Michael Dvorkin
3ca08c6522
Implemented grouping by advanced/declined
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
def4195b5a
Adding tickers
12 years ago
Michael Dvorkin
2c40c7f8bd
Refactored profile
12 years ago
Michael Dvorkin
8f727f1204
Added basics of line editor
12 years ago
Michael Dvorkin
327c3e256d
Added market update goroutine
12 years ago
Michael Dvorkin
76fef0ee0a
Converted quotes fetcher to goroutine
12 years ago
Michael Dvorkin
cf92c5f858
Added <right>now()</right>
12 years ago
Michael Dvorkin
5ace0edc38
Implemented asynchronous event polling
12 years ago
Michael Dvorkin
beece9c4b0
Code reorg
12 years ago