anag_factory 533741fbf2 Accepting request 1364503 from devel:languages:python
- update to 4.1.0:
  * Renamed the `bottom_toolbar` argument in `Cmd.__init__()` to
    `enable_bottom_toolbar`. It is also now strictly an `__init__`
    parameter and not an instance
    attribute.
  * `complete_in_thread` is now strictly an `__init__` parameter
    and not an instance attribute of
  * `get_rprompt()` is now only called if the `enable_rprompt`
    argument in `Cmd.__init__()` is set to `True`.
  * Fixed type hinting so that methods decorated with
    `with_annotated` no longer trigger spurious
    mypy errors and preserve their original signature.
  * Fixed cmd2 bypassing NO_COLOR and allow_style when setting
    prompt-toolkit's color depth.
  * New `cmd2.Cmd` parameters
  * **complete_in_thread**: (boolean) if `True`, then completion
    will run in a separate
    thread. If `False` then completion runs in the main thread
    and causes it to block if slow.
  * **refresh_interval**: (float) How often, in seconds, to
    automatically refresh the UI.
    Defaults to 0.0. This is used for bottom toolbars and right
    prompts which have dynamic
    content needing to be refreshed at regular intervals and not
    just when a key is pressed.

OBS-URL: https://build.opensuse.org/request/show/1364503
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cmd2?expand=0&rev=59
2026-07-09 20:18:25 +00:00
2026-07-08 11:02:44 +00:00
2026-07-08 11:02:44 +00:00
2026-07-08 11:02:44 +00:00
2026-07-08 11:02:44 +00:00
2026-07-08 11:02:44 +00:00
S
Description
No description provided
348 KiB
Languages
Diff 100%