forked from pool/python-prompt_toolkit
Accepting request 965076 from devel:languages:python
- update to 3.0.28: - Support format specifiers for HTML and ANSI formatted text. - Accept defaults for checkbox and radio list, and their corresponding dialogs. - Fix resetting of cursor shape after the application terminates. - Support for cursor shapes. The cursor shape for prompts/applications can now be configured, either as a fixed cursor shape, or in case of Vi input mode, according to the current input mode. - Handle "cursor forward" command in ANSI formatted text. This makes it possible to render many kinds of generated ANSI art. - Accept `align` attribute in `Label` widget. - Added `PlainTextOutput`: an output implementation that doesn't render any ANSI escape sequences. This will be used by default when redirecting stdout to a file. - Added `create_app_session_from_tty`: a context manager that enforces input/output to go to the current TTY, even if stdin/stdout are attached to pipes. - Added `to_plain_text` utility for converting formatted text into plain text. - Don't automatically use `sys.stderr` for output when `sys.stdout` is not a TTY, but `sys.stderr` is. The previous behavior was confusing, especially when rendering formatted text to the output, and we expect it to follow OBS-URL: https://build.opensuse.org/request/show/965076 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-prompt_toolkit?expand=0&rev=16
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a51d41a6a45fd9def54365bca8f0402c8f182f2b6f7e29c74d55faeb9fb38ac4
|
|
||||||
size 402667
|
|
3
prompt_toolkit-3.0.28.tar.gz
Normal file
3
prompt_toolkit-3.0.28.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9f1cd16b1e86c2968f2519d7fb31dd9d669916f515612c269d14e9ed52b51650
|
||||||
|
size 3057388
|
@@ -1,3 +1,27 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Mar 26 19:24:01 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 3.0.28:
|
||||||
|
- Support format specifiers for HTML and ANSI formatted text.
|
||||||
|
- Accept defaults for checkbox and radio list, and their corresponding dialogs.
|
||||||
|
- Fix resetting of cursor shape after the application terminates.
|
||||||
|
- Support for cursor shapes. The cursor shape for prompts/applications can now
|
||||||
|
be configured, either as a fixed cursor shape, or in case of Vi input mode,
|
||||||
|
according to the current input mode.
|
||||||
|
- Handle "cursor forward" command in ANSI formatted text. This makes it
|
||||||
|
possible to render many kinds of generated ANSI art.
|
||||||
|
- Accept `align` attribute in `Label` widget.
|
||||||
|
- Added `PlainTextOutput`: an output implementation that doesn't render any
|
||||||
|
ANSI escape sequences. This will be used by default when redirecting stdout
|
||||||
|
to a file.
|
||||||
|
- Added `create_app_session_from_tty`: a context manager that enforces
|
||||||
|
input/output to go to the current TTY, even if stdin/stdout are attached to
|
||||||
|
pipes.
|
||||||
|
- Added `to_plain_text` utility for converting formatted text into plain text.
|
||||||
|
- Don't automatically use `sys.stderr` for output when `sys.stdout` is not a
|
||||||
|
TTY, but `sys.stderr` is. The previous behavior was confusing, especially
|
||||||
|
when rendering formatted text to the output, and we expect it to follow
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Feb 5 18:14:18 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
|
Sat Feb 5 18:14:18 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
@@ -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.26
|
Version: 3.0.28
|
||||||
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
|
||||||
|
Reference in New Issue
Block a user