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

Feature EnterAction #177

Closed
Dup4 opened this issue Dec 30, 2022 · 4 comments
Closed

Feature EnterAction #177

Dup4 opened this issue Dec 30, 2022 · 4 comments
Assignees

Comments

@Dup4
Copy link
Contributor

Dup4 commented Dec 30, 2022

We can register a function to ExitAction() to do some of the things we want to do when the session exits

So correspondingly, can we add an EnterAction() hook to do something we want to do when the session is first entered?

For example, output a welcome message, a help message, etc.

@Dup4
Copy link
Contributor Author

Dup4 commented Jan 7, 2023

If this feature is approved, I can try to help implement it.

@daniele77
Copy link
Owner

Ok, I think it might be useful. If you want, send a PR.

@Dup4
Copy link
Contributor Author

Dup4 commented Jan 13, 2023

ok, I can try to send a PR

@daniele77
Copy link
Owner

Thank you very much for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants