Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Show result on empty history #35

Closed
vitorgalvao opened this issue Mar 21, 2023 · 2 comments
Closed

Show result on empty history #35

vitorgalvao opened this issue Mar 21, 2023 · 2 comments
Labels
fixed Bug fixed - problem solved

Comments

@vitorgalvao
Copy link
Contributor

vitorgalvao commented Mar 21, 2023

Right now, on the first run of the cf Script Filter, the following happens:

  1. Type cf and see results in Alfred.
  2. Type space to start the prompt. Results in Alfred disappear.
  3. Type first letter. Result reappears.

Step two makes is seem something went wrong, but it’s just the script returning zero results because there is no history yet. Maybe it’s worth it to output “No prompt history yet” as a subtitle or something in that case?

@chrislemke
Copy link
Owner

Hey @vitorgalvao!
Thanks for this. A very good point. I will fix this.

chrislemke pushed a commit that referenced this issue Mar 22, 2023
@chrislemke
Copy link
Owner

Improved in: v1.3.1

@chrislemke chrislemke added the fixed Bug fixed - problem solved label Mar 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
fixed Bug fixed - problem solved
Projects
None yet
Development

No branches or pull requests

2 participants