diff options
author | Sam Tay <sam.chong.tay@gmail.com> | 2020-06-16 20:55:10 -0700 |
---|---|---|
committer | Sam Tay <sam.chong.tay@gmail.com> | 2020-06-16 20:55:10 -0700 |
commit | d422c8424ae76fc85e0fdf55257e0cee7fa38271 (patch) | |
tree | 0ebfd038e294b0020ca41aeb9a43c1f6879615ba /TODO.md | |
parent | 76be36e46a5d404cbfb93253bfba4b73f03ee811 (diff) |
Add --lucky flag
Punting on async for now because loading up the cursive app is already super fast. Might be noticeably necessary after multi-site and external search engines are added
Diffstat (limited to 'TODO.md')
-rw-r--r-- | TODO.md | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -6,13 +6,6 @@ Going with cursive because it is way more flexible than tui-rs. benefit of incorporating termimad features will not be felt. But, this is changing [soon](https://meta.stackexchange.com/q/348746). -### v0.2.1 -1. Add `lucky: bool` to config, but -2. add --lucky and --no-lucky conflicting flags to cli -3. If --lucky, async get 1 result while getting limit results -4. Display with [space] to see more, any other key to exit. -1. maybe <query> is optional, and leaving blank starts up TUI? - ### v0.2.2 1. Site can be multiple 2. do tokio async on SE api @@ -32,6 +25,8 @@ etc. is prime for parallelization. 2. Also, we could `par_iter` the initial q&a data to SpannedStrings from the start, so that it's not done on the fly... +3. The rest of the questions should really start being fetched while waiting for + the user to press [Enter]... maybe start with just simple threads? ### Endless future improvements for the TUI 1. Init with smaller layout depending on initial screen size. |