Closed Dup4 closed 1 year ago
We can register a function to ExitAction() to do some of the things we want to do when the session exits
ExitAction()
So correspondingly, can we add an EnterAction() hook to do something we want to do when the session is first entered?
EnterAction()
For example, output a welcome message, a help message, etc.
If this feature is approved, I can try to help implement it.
Ok, I think it might be useful. If you want, send a PR.
ok, I can try to send a PR
Thank you very much for your help.
We can register a function to
ExitAction()
to do some of the things we want to do when the session exitsSo 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.