You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make use of refresh_interval parameter for prompt-toolkit sessions #1699
In prompt-toolkit, you can control session and UI refresh rates by configuring the refresh_interval in your Application / Session constructor, which invalidates and redraws the UI automatically.
We should add this as a parameter to the cmd2.Cmd.__init__ method with a default value. The default value should probably match whatever the default value from prompt-toolkit is.
Activity
tleonhardt commentedon Jun 27, 2026
@kmvanbrunt What remains to be done for this? I think the change has been made and we just need to update the
CHANGELOG.mdand documentation?kmvanbrunt commentedon Jun 27, 2026
I've made these changes on the #1700 PR.