Commit graph

206 commits

Author SHA1 Message Date
figsoda
7025b876fd update to clap v3.0.0-beta.5 2021-10-18 08:29:45 -04:00
figsoda
bc6e512a0e dirs-next -> dirs 2021-09-17 14:50:37 -04:00
figsoda
0a5ddd6832 add key binding: ctrl + u to empty search query 2021-07-27 16:48:44 -04:00
figsoda
1de20d58ec fix clippy warning: branches-sharing-code 2021-06-17 21:38:58 -04:00
figsoda
d2d44048ea fix return type 2021-05-02 17:18:01 -04:00
figsoda
edd2d1a0b0 (questionable) rustfmt 2021-03-19 11:13:55 -04:00
figsoda
f41b376c9a change parenthesis to =s 2021-03-19 10:40:21 -04:00
figsoda
8895009282 separate cli and app definition 2021-02-17 11:57:55 -05:00
figsoda
5e8a7ad4b6 support host name resolution for command line args 2021-02-17 11:02:17 -05:00
figsoda
730d179fe6 sort imports 2021-02-16 14:13:28 -05:00
figsoda
28cb05b78d prevent resolving addresss multiple times 2021-02-09 20:19:57 -05:00
figsoda
a43bd5bd28 add version output 2021-02-09 10:36:18 -05:00
figsoda
de34cc398f add hostname resolution 2021-02-07 16:23:48 -05:00
figsoda
5259706206 add support for MPD_HOST and MPD_PORT env vars 2021-02-07 13:44:29 -05:00
figsoda
fde6692489 correctly toggle pause 2021-02-05 16:44:25 -05:00
figsoda
0bf8e6e110 migrate from nightly to stable rust 2021-02-05 10:54:50 -05:00
figsoda
37fc4dc30a allow multiple occurrences of flags 2021-02-04 19:06:57 -05:00
figsoda
d398077ed8 migrate from structopt to clap 3.0 beta 2021-02-04 19:02:45 -05:00
figsoda
0905971c79 fix mouse scrolling direction 2021-01-16 13:59:12 -05:00
figsoda
807d98f3fd bind g/G to go to the top/bottom of the queue 2021-01-15 09:36:16 -05:00
figsoda
ba041ca4cd change state from an Option<bool> to an enum 2021-01-08 21:26:37 -05:00
figsoda
cccb497c47 bump dependencies 2020-12-28 13:49:46 -05:00
figsoda
89afb75493 rewrite State::select and State::reselect 2020-12-24 23:59:34 -05:00
figsoda
910bb229df execute commands before fetching updates 2020-12-24 23:40:27 -05:00
figsoda
5c17bfd29c clean up 2020-12-24 23:29:01 -05:00
figsoda
33da802884 make cheap clones explicit 2020-12-14 21:44:34 -05:00
figsoda
a1e07eb0df cargo fmt 2020-12-06 22:45:51 -05:00
figsoda
e8ab93b2f9 use Timer::interval to improve readability 2020-11-28 19:05:21 -05:00
figsoda
f35ce970e5 improve readability with destructuring assignment 2020-11-26 11:23:38 -05:00
figsoda
e902afd34e directly mutate selection with reselect instead 2020-11-26 11:19:38 -05:00
figsoda
39f95d3eb2 rename queue_len function to len 2020-11-25 21:30:50 -05:00
figsoda
702ed2501c create select function to improve readability 2020-11-25 19:01:22 -05:00
figsoda
6cfce94c76 create queue_len function 2020-11-25 17:10:44 -05:00
figsoda
6a8c56deef fix scrolling up logic with cycle option on 2020-11-25 16:53:37 -05:00
figsoda
abd8f8bd09 remove OrDie trait 2020-11-22 13:51:39 -05:00
figsoda
db0d8cd110 replace coercion with type annotation 2020-11-22 13:37:48 -05:00
figsoda
bd76b76735 merge feature attributes 2020-11-22 12:26:51 -05:00
figsoda
18af408801 use as_ref to avoid unecessary copies 2020-11-22 11:01:47 -05:00
figsoda
ca8f7c9861 use box syntax to improve readability 2020-11-22 10:13:45 -05:00
figsoda
3cde76ba8a make updates immutable 2020-11-21 15:57:33 -05:00
figsoda
8e351785b0 remove unecessary frame updates when scrolling 2020-11-21 15:46:20 -05:00
figsoda
09d1224403 clean up 2020-11-21 15:42:56 -05:00
figsoda
5baad18866 return directly from loop instead of break 2020-11-20 21:59:38 -05:00
figsoda
593f48f5bc add move keyword to async blocks 2020-11-20 21:43:49 -05:00
figsoda
5a7d520ea9 remove unecessary type annotation 2020-11-20 16:58:04 -05:00
figsoda
238b8994c5 move block_on out of the loop 2020-11-20 12:02:56 -05:00
figsoda
f527294e28 mutate liststate instead of creating a new one 2020-11-20 11:33:42 -05:00
figsoda
bb1b47d646 create reselect function 2020-11-20 11:31:19 -05:00
figsoda
9ba732a632 create quit_search function 2020-11-20 11:24:53 -05:00
figsoda
0a1d805868 unpark main thread on resize 2020-11-20 09:47:50 -05:00