python-prompt-toolkit v0.53 Release Notes

Release Date: 2015-10-06 // over 8 years ago
  • ๐Ÿ†• New features:

    • Handling of the insert key in Vi mode.
    • โž• Added 'zt' and 'zb' Vi key bindings.
    • โž• Added delete key binding for deleting selected text.
    • Select word below cursor on double mouse click.
    • โž• Added wrap_lines option to TokenListControl.
    • โž• Added KeyBindingManager.for_prompt.

    ๐Ÿ›  Fixes:

    • ๐Ÿ›  Fix in rendering output.
    • Reset renderer correctly in run_in_terminal.
    • Only reset buffer when using AbortAction.RETRY.
    • ๐Ÿ›  Fix in handling of exit (Ctrl-D) key presses.
    • ๐Ÿ›  Fix in CompleteEvent. Correctly set completion_requested.

    Backwards-incompatible changes:

    • ๐Ÿ“‡ Renamed ValidationError.index to ValidationError.cursor_position.
    • ๐Ÿ“‡ Renamed shortcuts.get_input to shortcuts.prompt.
    • Return empty string instead of None in Document.current_char/char_before_cursor.