asciimatics v1.12.0 Release Notes

Release Date: 2020-11-15 // 3 months ago
    • ➕ Added ColouredText objects to handle embedded colour codes in text for some widgets.
    • ➕ Added parsers to handle Asciimatics and Ansi Terminal escape sequences.
    • ➕ Added ControlCodeParser to create human readable text from raw text with control codes in it.
    • ➕ Added readonly logic for Text and TextBox.
    • ➕ Added ability to enable/disable widgets by column in layouts.
    • ➕ Added left/right/up/down navigation to nearest widget.
    • ➕ Added ability to scroll screen/canvas by variable number of lines.
    • Created terminal demo
    • 🛠 Fixed exception on reinstating NoneType signal handler.
    • 🛠 Fixed float/int issue with recent builds of pywin32.
    • 🛠 Fixed issue where setting options changed the selected value (even if it was still present).
    • 🛠 Fixed erroneous trigger of on_load for all Frames at start of day.
    • 🛠 Fixed bug where Frames passed on events that they already handled.
    • 🛠 Fixed bug: Restore current theme on screen resize.
    • 🛠 Fixed bug in scrolling the screen up.

Previous changes from v1.11.0

    • ➕ Added allow_int parameter to Screen.play().
    • ➕ Added max_length parameter to Text.
    • ➕ Added support for page up/down in TextBox.
    • ➕ Added optional scroll bars to MultiColumnListBox.
    • ➕ Added file_filter parameter to FileBrowser.
    • Added wait_for_input method to Screen.
    • ➕ Added optional theme parameter to PopupDialog.
    • ➕ Added optional jitter parameter to Noise.
    • ➕ Added ManagedScreen decorator.
    • 👌 Improved performance of double-buffering.

      • NOTE: Drawing off-screen with a large scrolling buffer is no longer supported (as it wasn't needed).
    • ➕ Added optional pattern parameter to Stars.

    • 👌 Improved handling of permission errors in FileBrowser.

    • ➕ Added formal support for defining your own colour theme.

    • ➕ Added clear_widgets to Layout objects.

    • 🛠 Fixed height of PopUpDialog when no buttons are specified.

    • 🛠 Fixed bug where asciimatics Scenes would hang when the clock is moved back in time.

    • 🛠 Fixed off-by-one error in BarChart labels.

    • 🛠 Fixed bug where Labels ignored the custom_colour property.

    • ➕ Added default date and time to DatePicker and TimePicker when no value specified.