106 Commits

Author SHA1 Message Date
raziman
f712fbab75 add hook tests 2021-02-20 11:18:33 +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
1f0e990e2a setup hooks 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
42c78535f9 fix cpu spike when no songs playing on startup 2021-02-19 13:16:22 +08:00
raziman
d0bac491c6 add repl keybinding 2021-02-19 10:24:21 +08:00
raziman
2e8789d9bf add helper modules 2021-02-18 10:24:34 +08:00
raziman
d24a47e351 move variables into modules 2021-02-18 10:23:15 +08:00
raziman
25cbf166ea add support for ctrl and alt keybindings 2021-02-17 15:23:08 +08:00
raziman
35e75ba83e disable global keybindings when repl is running 2021-02-16 13:38:36 +08:00
raziman
b422cd25de clean up 2021-02-15 20:35:02 +08:00
raziman
cf54af8d74 capitalize module 2021-02-15 14:27:45 +08:00
raziman
77320960c6 make commands execute in main goroutine
make
2021-02-15 13:56:10 +08:00
raziman
9969c5eaf0 clean up 2021-02-15 12:14:03 +08:00
raziman
4faf11b5c0 add constant 2021-02-15 11:56:02 +08:00
raziman
c0bf256256 define commands before executing config file 2021-02-15 11:54:32 +08:00
raziman
1ff788ffd5 clean up 2021-02-14 21:37:31 +08:00
raziman
cf50bde7a0 abstract keybinding 2021-02-14 20:33:24 +08:00
raziman
738c0fa778 move Anko to sub package 2021-02-14 14:35:36 +08:00
raziman
2bf5d85b13 create Anko 2021-02-14 13:45:43 +08:00
raziman
a054ebb063 add shell function for the scripting language 2021-02-14 12:01:41 +08:00
raziman
945613db64 add comment 2021-02-14 11:20:21 +08:00
raziman
60cc4fab39 fix build error 2021-02-13 22:49:26 +08:00
raziman
482b8f247f add basic support for scripting language 2021-02-13 21:59:21 +08:00
raziman
2c6ca69e0b remove unused constant 2021-02-13 21:59:21 +08:00
raziman
6b5e96df61 replace viper with anko scripting language 2021-02-13 21:59:21 +08:00
raziman
2e03c2be77 remove support for fzf in favor of built-in finder 2021-02-11 14:49:14 +08:00
raziman
cc1e50d5e8 delay setDefault() call 2021-02-10 15:06:08 +08:00
raziman
f2f225a058 Merge branch 'master' into youtube-search 2021-02-06 11:14:26 +08:00
tramhao
d867fc07af Fix issues:1. add popups for yank and paste 2. Return errors for paste function 2021-02-06 00:18:31 +08:00
raziman
d07e695637 set default before reading the config file to ensure new options can be added properly 2021-02-04 23:22:16 +08:00
raziman
a2d3362823 add option to change invidious instance 2021-02-04 23:21:08 +08:00
raziman
edf4c7b729 set general.use_emoji to false by default 2021-02-04 21:24:05 +08:00
tramhao
0dbf508d92 upgrade modules and lint all codes 2021-02-04 12:23:32 +08:00
tramhao
5d5bbcf66b enqueue when paused is not correct 2021-02-03 10:50:01 +08:00
tramhao
0a3cc22095 fix for save queue 2021-01-31 22:38:49 +08:00
tramhao
3157ccf37d add option loop 2021-01-31 20:52:04 +08:00
tramhao
837b729177 take out the most time consuming part of start up and update it later with go routine 2021-01-31 19:12:15 +08:00
tramhao
1bfefd61a6 There is no need to switch focus to playingbar as nothing happens there 2021-01-28 14:50:05 +08:00
tramhao
0bf47908d5 Add forward and rewind function 2021-01-27 01:10:48 +08:00
tramhao
1ce101613b fix build error 2021-01-21 01:30:16 +08:00
raziman
1689a6208b make history path configurable instead of hard-coded 2020-09-25 17:41:58 +08:00
raziman
828df0c333 customizeable emoji 2020-08-25 21:44:20 +08:00
raziman
1fb393a8cf set emoji to false by default 2020-08-25 18:20:27 +08:00
raziman
aabaaa170c change all actions to be triggered to a command instead of key-press 2020-08-25 18:17:54 +08:00
raziman
0d9faffacb add comments in config 2020-08-22 22:03:52 +08:00
raziman
4a472b0e22 organize color 2020-08-22 14:41:03 +08:00
raziman
fcb0d0516d fix config file not found 2020-08-21 15:25:04 +08:00
raziman
0231ff01bd handle os signal 2020-08-18 12:26:45 +08:00