python-prompt-toolkit v0.54 Release Notes

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

    • ๐Ÿ‘ Allow CommandLineInterface to run in any thread.
    • Hide cursor while rendering.
    • ๐Ÿšš Added add_reader/remove_reader methods to EventLoop.
    • ๐Ÿ‘Œ Support for 'reverse' style.
    • Redraw more lazy, by using invalidate.
    • โž• Added show_cursor property to Screen.
    • Center or right align text in TokenListControl also when it spans multiple lines.

    ๐Ÿ›  Fixes:

    • ๐Ÿ›  Bugfix in PathCompleter. (Expanduser issue.)
    • ๐Ÿ›  Fix in signal handler.
    • 0๏ธโƒฃ Use utf-8 encoding in Vt100_Output by default.
    • 0๏ธโƒฃ Use correct default token in BufferControl.
    • ๐Ÿ›  Fix in ControlL key binding. Use @handle to allow deactivation.

    Backwards-incompatible changes:

    • 0๏ธโƒฃ Renamed create_default_layout to create_prompt_layout
    • 0๏ธโƒฃ Renamed create_default_application to create_prompt_application
    • ๐Ÿ“‡ Renamed Layout to Container.
    • ๐Ÿ“‡ Renamed CommandLineInterfaces.request_redraw to invalidate.
    • 0๏ธโƒฃ Changed the actual value of SEARCH_BUFFER, DEFAULT_BUFFER, SYSTEM_BUFFER and DUMMY_BUFFER.
    • ๐Ÿ”„ Changed order of keyword arguments of the BufferControl class. "buffer_name" now comes first.
    • โœ‚ Removed old pt(i)python code.