Changelog for
python310-prompt_toolkit-3.0.30-qubes.2.3.noarch.rpm :
* Fri Jul 01 2022 John Paul Adrian Glaubitz
- Update to version 3.0.30: New features: - Allow zero-width-escape sequences in `print_formatted_text`. - Add default value option for input dialog. - Added `has_suggestion` filter. Fixes: - Fix rendering of control-shift-6 (or control-^). Render as \'^^\' - Always wrap lines in the Label widget by default. - Fix enter key binding in system toolbar in Vi mode. - Improved handling of stdout objects that don\'t have a \'buffer\' attribute. For instance, when using `renderer_print_formatted_text` in a Jupyter Notebook.- from version 3.0.29: New features: - Accept \'handle_sigint\' parameter in PromptSession. Fixes - Fix \'variable referenced before assignment\' error in vt100 mouse bindings. - Pass `handle_sigint` from `Application.run` to `Application.run_async`. - Fix detection of telnet client side changes. - Fix `print_container` utility (handle `EOFError`). Breaking changes: - The following are now context managers: `create_pipe_input`, `PosixPipeInput` and `Win32PipeInput`.
* Sat Mar 26 2022 Dirk Müller - 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 05 2022 Atri Bhattacharya - Update to version 3.0.26:
* No Linux relevant changes.- Changes from version 3.0.25:
* Use `DummyOutput` when `sys.stdout` is `None` and `DummyInput` when `sys.stdin` is `None`.
* Correctly reset `Application._is_running` flag in case of exceptions in some situations.
* Handle SIGINT (when sent from another process) and allow binding it to a key binding.
* Increase the event loop `slow_duration_callback` by default to 0.5 to prevent printing warnings if rendering takes too long on slow systems.- Older changelogs: see https://github.com/prompt-toolkit/python-prompt-toolkit/blob/3.0.26/CHANGELOG
* Sun Dec 20 2020 Dirk Müller - 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 2020 Marketa Calabkova - Update to 3.0.5
* no notable changes
* Wed Mar 18 2020 Marketa Calabkova - Update to 3.0.4
* Python 2 support has been dropped.
* Native asyncio, so some async code becomes slightly different.
* (almost) 100% type annotated.
* Added shift-based text selection (use shift+arrows to start selecting text).
* Accept an empty prompt continuation.
* Improved support for \"dumb\" terminals.
* `ShiftControl` has been replaced with `ControlShift` and `s-c` with `c-s` in key bindings. Aliases for backwards-compatibility have been added.
* Thu Oct 10 2019 Tomáš Chvátal - Update to 2.0.10:
* minor bugfixes around
* Sat Mar 02 2019 Arun Persaud - specfile:
* update copyright year- update to version 2.0.9:
* Bug fixes: + Fixed `Application.run_system_command` on Windows. + Fixed bug in ANSI text formatting: correctly handle 256/true color sequences. + Fixed bug in WordCompleter. Provide completions when there\'s a space before the cursor.- changes from version 2.0.8:
* Bug fixes: + Fixes the issue where changes made to the buffer in the accept handler were not reflected in the history. + Fix in the application invalidate handler. This prevents a significat slow down in some applications after some time (especially if there is a refresh interval). + Make `print_container` utility work if the input is not a pty.
* New features: + Underline non breaking spaces instead of rendering as \'&\'. + Added mouse support for radio list. + Support completion styles for `READLINE_LIKE` display method. + Accept formatted text in the display text of completions. + Added a `FuzzyCompleter` and `FuzzyWordCompleter`. + Improved error handling in Application (avoid displaying a meaningless AssertionError in many cases).
* Thu Nov 01 2018 Arun Persaud - update to version 2.0.7:
* Bug fixes: + Fixed assertion in PromptSession: the style_transformation check was wrong. + Removed \'default\' attribute in PromptSession. Only ask for it in the `prompt()` method. This fixes the issue that passing `default` once, will store it for all consequent calls in the `PromptSession`. + Ensure that `__pt_formatted_text__` always returns a `FormattedText` instance. This fixes an issue with `print_formatted_text`.
* New features: + Improved handling of situations where stdin or stdout are not a terminal. (Print warning instead of failing with an assertion.) + Added `print_container` utility. + Sound bell when attempting to edit read-only buffer. + Handle page-down and page-up keys in RadioList. + Accept any `collections.abc.Sequence` for HSplit/VSplit children (instead of lists only). + Improved Vi key bindings: return to navigation mode when Insert is pressed.
* Sat Oct 13 2018 Arun Persaud - update to version 2.0.6:
* Bug fixes: + Don\'t use the predefined ANSI colors for colors that are defined as RGB. (Terminals can assign different color schemes for ansi colors, and we don\'t want use any of those for colors that are defined like #aabbcc for instance.) + Fix in handling of CPRs when patch_stdout is used.
* Backwards incompatible changes: + Change to the `Buffer` class. Reset the buffer unless the `accept_handler` returns `True` (which means: \"keep_text\"). This doesn\'t affect applications that use `PromptSession`.
* New features: + Added `AdjustBrightnessStyleTransformation`. This is a simple style transformation that improves the rendering on terminals with light or dark background. + Improved performance (string width caching and line height calculation). + Improved `TextArea`: o Exposed `focus_on_click`. o Added attributes: `auto_suggest`, `complete_while_typing`, `history`, `get_line_prefix`, `input_processors`. o Made attributes writable: `lexer`, `completer`, `complete_while_typing`, `accept_handler`, `read_only`, `wrap_lines`.- changes from version 2.0.5:
* Bug fixes: + Fix in `DynamicContainer`. Return correct result for `get_children`. This fixes a bug related to focusing. + Properly compute length of `start`, `end` and `sym_b` characters of progress bar. + CPR (cursor position request) fix.
* Backwards incompatible changes: + Stop restoring `PromptSession` attributes when exiting prompt.
* New features: + Added `get_line_prefix` attribute to window. This opens many possibilities: o Line wrapping (soft and hard) can insert whitespace in front of the line, or insert some symbols in front. Like the Vim \"breakindent\" option. o Single line prompts also support line continuations now. o Line continuations can have a variable width. + For VI mode: implemented temporary normal mode (control-O in insert mode). + Added style transformations API. Useful for swapping between light and dark color schemes. Added `swap_light_and_dark_colors` parameter to `prompt()` function. + Added `format()` method to ANSI formatted text. + Set cursor position for Button widgets. + Added `pre_run` argument to `PromptSession.prompt()` method.