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

Make the Aish module able to queue the "code post" action when PSReadLine is not yet ready (code is still executing in PowerShell) #119

Open
daxian-dbw opened this issue May 8, 2024 · 0 comments
Labels
Issue-Enhancement The issue is a feature or idea

Comments

@daxian-dbw
Copy link
Member

Summary of the new feature / enhancement

Make the Aish module able to queue the "code post" action when PSReadLine is not yet ready (code is still executing in PowerShell), so that a user can run askai '/code post' to get the code posted to the PS session, without having to go the AISH side to run /code post. Today this doesn't work because when Aish module receives the code post request, the PS default session hasn't got back to the prompt yet.

Proposed technical implementation details (optional)

Use the OnIdel event to signal Aish module that PSReadLine is ready.

@daxian-dbw daxian-dbw added the Issue-Enhancement The issue is a feature or idea label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Enhancement The issue is a feature or idea
Projects
None yet
Development

No branches or pull requests

1 participant