Skip to content

Make use of refresh_interval parameter for prompt-toolkit sessions #1699

Description

@tleonhardt

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

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions