449 Commits

Author SHA1 Message Date
raziman
5b05a60012 add lyric fetcher
add lyric fetcher
2021-02-23 10:25:24 +08:00
raziman
b049c075de add SetFieldBackgroundColor 2021-02-22 12:35:43 +08:00
raziman
15cb8c7c43 use errorPopup instead of defaultTimedPopup 2021-02-22 12:34:24 +08:00
raziman
f2bfc772d6 use die() instead of log.Fatal() 2021-02-22 10:49:07 +08:00
raziman
26f7412491 fix test 2021-02-22 10:43:29 +08:00
tramhao
488c21f048 cannot fix test so disable it first 2021-02-22 00:02:08 +08:00
tramhao
9c97ee2338 Lyrics is working but need check 2021-02-21 23:08:16 +08:00
tramhao
3f4ad5da5c lyric in progress 2021-02-21 15:42:54 +08:00
tramhao
d9dfd29e95 lyric in progress 2021-02-21 15:21:08 +08:00
tramhao
44aae038f3 lyrics in progress 2021-02-21 15:18:19 +08:00
tramhao
1362c9925b Merge remote-tracking branch 'upstream/master' 2021-02-21 15:16:20 +08:00
raziman
6d9b9c63d0 prevent from panic in repl causes app to crash 2021-02-21 11:26:19 +08:00
raziman
6209496daa fix broken link 2021-02-21 09:58:55 +08:00
raziman
b0a3885b87 avoid memory leak 2021-02-21 09:32:22 +08:00
raziman
d84fc56fad add command test 2021-02-20 22:56:55 +08:00
raziman
e2a5f1fe99 make autocompletion async 2021-02-20 16:21:04 +08:00
raziman
41d1ed2d15 fix panic when pressing up key in repl 2021-02-20 15:37:22 +08:00
Raziman Mahathir
b558ae8e15
Merge pull request #23 from issadarkthing/event-hook
Add event hook
2021-02-20 11:25:27 +08:00
raziman
f712fbab75 add hook tests 2021-02-20 11:18:33 +08:00
raziman
2d65e54e64 change NewAnko to return *Anko 2021-02-20 11:18:03 +08:00
raziman
92765747e0 prevent from range over nil 2021-02-19 22:24:32 +08:00
raziman
94d83bc464 setup hooks
setup hooks
2021-02-19 22:23:57 +08:00
raziman
9d41e80edc add hook test 2021-02-19 22:22:36 +08:00
raziman
af336e1a60 add comments 2021-02-19 22:22:24 +08:00
raziman
1f0e990e2a setup hooks 2021-02-19 16:28:50 +08:00
raziman
cefb7b9264 show nil in repl 2021-02-19 16:28:50 +08:00
raziman
e8f0b306f0 change NewEventHook to return pointer 2021-02-19 16:28:50 +08:00
raziman
4fa99d1043 add more tests 2021-02-19 16:28:50 +08:00
raziman
310a43f8cf add EventHook 2021-02-19 16:28:50 +08:00
raziman
dcce622458 set correct progress bar length when screen is drawn 2021-02-19 15:08:10 +08:00
raziman
5e4c9f64b5 fix screen does not update playingbar 2021-02-19 15:07:44 +08:00
raziman
2788a10225 allow skip current song when queue is empty 2021-02-19 15:06:10 +08:00
tramhao
92d8885385 lyric in progress 2021-02-19 14:45:20 +08:00
tramhao
3c95da111f working in progress for lyrics 2021-02-19 14:28:55 +08:00
raziman
42c78535f9 fix cpu spike when no songs playing on startup 2021-02-19 13:16:22 +08:00
raziman
be97544e8b run go fmt 2021-02-19 10:25:01 +08:00
raziman
d0bac491c6 add repl keybinding 2021-02-19 10:24:21 +08:00
raziman
8a72c2018f clean up player.go 2021-02-19 09:56:01 +08:00
raziman
977bdb974f add verbose error message 2021-02-19 09:45:02 +08:00
raziman
50cf9dcf31 update README.md 2021-02-19 09:07:24 +08:00
Raziman Mahathir
3183e2efe7
Merge pull request #18 from issadarkthing/scripting-language
Resolves #16
Resolves #13
2021-02-18 17:10:52 +08:00
raziman
3da0c67a94 change {type,kind}Of to {type,kind}_of 2021-02-18 16:06:09 +08:00
raziman
ba8ccef350 clean up 2021-02-18 10:24:43 +08:00
raziman
2e8789d9bf add helper modules 2021-02-18 10:24:34 +08:00
raziman
6c998e7e82 new config style 2021-02-18 10:23:34 +08:00
raziman
d24a47e351 move variables into modules 2021-02-18 10:23:15 +08:00
raziman
fbd59e7d30 allow Get{Int,String,Bool} to access symbol inside Module 2021-02-18 10:20:37 +08:00
raziman
7ae79c4dfb print error to stderr 2021-02-18 09:49:41 +08:00
raziman
6797676e64 use Lshortfile flag for log 2021-02-17 21:52:29 +08:00
raziman
a3e8f3b132 debugPopup receives interface instead of string 2021-02-17 21:51:20 +08:00