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

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:563d1a4140b63ff9dd587bda9557cffb2fe73650205ab6f4383092fb882e7dc8
size 2999763

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:25c95d2ac813909f813c93fde734b6e44406d1477a9faef7c915ff37d39c0a8c
size 3019536

View File

@@ -1,3 +1,29 @@
-------------------------------------------------------------------
Sun Dec 20 09:38:35 UTC 2020 - Dirk Müller <dmueller@suse.com>
- 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).
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 11 10:49:19 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com> Thu Jun 11 10:49:19 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>

View File

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