| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Upgrade to release 3.0.6:
New features:
- The SSH/Telnet adaptors have been refactored and improved in
several ways.
* 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).
Fixes:
- Ignore F21..F24 key bindings by default.
- Fix auto_suggest key bindings when suggestion text is empty.
- Bugfix in SIGWINCH handling.
- Handle bug in HSplit/VSplit when the number of children is zero.
- Bugfix in CPR handling in renderer. Proper cancellation of
pending tasks.
- Ensure rprompt aligns with input.
- Use `sys.stdin.encoding` for decoding stdin stream.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
|
|
| |
Add python3-image to rdepends since it import colorsys
Signed-off-by: Shlomi Vaknin <shlomi.39sd@gmail.com>
Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
Upgrade to release 3.0.5 and add HOMEPAGE. The new release brings:
New features:
- (almost) 100% type annotated.
- Native asyncio instead of custom event loops.
- Added shift-based text selection.
- Added many more vt100 ANSI sequences and keys.
- Improved control/shift key support in Windows.
- No Mypy errors in prompt_toolkit anymore.
- Added `set_exception_handler` optional argument to
`PromptSession.prompt()`.
Breaking changes:
- Python 2 support has been dropped. Minimal Python version is now
3.6, although 3.7 is preferred (because of ContextVars).
- Native asyncio, so some async code becomes slightly different.
- The active `Application` became a contextvar. Which means that
it should be propagated correctly to the code that requires it.
However, random other threads or coroutines won't be able to know
what the current application is.
- The dialog shortcuts API changed. All dialog functions now return
an `Application`. You still have to call either `run()` or
`run_async` on the `Application` object.
- The way inputhooks work is changed.
- `patch_stdout` now requires an `Application` as input.
- `ShiftControl` has been replaced with `ControlShift` and `s-c`
with `c-s` in key bindings. Aliases for backwards-compatibility
have been added.
Fixes:
- Bugfix in invalidate code. `PromptSession` was invalidating the
UI continuously.
- Add uvloop support.
- Forwarded `set_exception_handler` in `Application.run` to the
`run_async` call.
- Bugfix in `NestedCompleter` when there is a leading space.
- Bugfix in mouse handling on Windows.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|