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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions