14
0

- update to 3.0.8:

- Added `validator` parameter to `input_dialog`.
  - New "placeholder" parameter added to `PromptSession`.
  - Fixes
  - The SSH/Telnet adaptors have been refactored and improved in several ways.
    See issues #876 and PR #1150 and #1184 on GitHub.
    * Handle terminal types for both telnet and SSH sessions.
    * Added pipe input abstraction. (base class for `PosixPipeInput` and
      `Win32PipeInput`).
    * The color depth logic has been refactored and moved to the `Output`
      implementations. Added `get_default_color_depth` method to `Output`
      objects.
    * All line feets are now preceded by a carriage return in the telnet
      connection stdout.
  - Introduce `REPLACE_SINGLE` input mode for Vi key bindings.
  - Improvements to the checkbox implementation:
      * Hide the scrollbar for a single checkbox.
      * Added a "checked" setter to the checkbox.
  - Expose `KeyPressEvent` in key_binding/__init__.py (often used in type
    annotations).
  - The renderer has been optimized so that no trailing spaces are generated
    (this improves copying in some terminals).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-prompt_toolkit?expand=0&rev=31
This commit is contained in:
2020-12-20 09:40:21 +00:00
committed by Git OBS Bridge
parent cf5d839921
commit a18d78b002
4 changed files with 30 additions and 4 deletions

View File

@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-prompt_toolkit
Version: 3.0.5
Version: 3.0.8
Release: 0
Summary: Library for building interactive command lines in Python
License: BSD-3-Clause