Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh interval #5154

Closed
1 task done
Kyren223 opened this issue Jun 23, 2024 · 2 comments
Closed
1 task done

Refresh interval #5154

Kyren223 opened this issue Jun 23, 2024 · 2 comments
Assignees
Labels
🚀 feat New feature

Comments

@Kyren223
Copy link

Code of Conduct

  • I agree to follow this project's Code of Conduct

What would you like to see added?

Have a global (or potentially per-block/segment) option for how often to refresh the prompt
Example:
refresh-interval: 5000 // Reload every 5000ms (5s) the prompt

This would be useful to have real-time information with things like git, battery, time etc, currently you'd have to press enter for it to re-generate the prompt to see if there are any changes

I recommend doing this as an async check for differences between the new prompt and the current prompt, and only update if there is a difference (to not have it constantly re-rendering)

@JanDeDobbeleer
Copy link
Owner

Duplicate of #5036

@JanDeDobbeleer JanDeDobbeleer marked this as a duplicate of #5036 Jun 23, 2024
Copy link

This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues.
If you have found a problem that seems similar, please open a discussion first, complete the body with all the details necessary to reproduce, and mention this issue as reference.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🚀 feat New feature
Projects
None yet
Development

No branches or pull requests

2 participants