Text-IO v3.0.0 Release Notes

Release Date: 2017-12-08 // over 6 years ago

    🆕 new TextTerminal features:

    • line control:
      • resetLine(): clears the current line.
      • moveToLineStart(): moves the cursor to the start of the current line.
    • bookmarking:
      • setBookmark(bookmark): sets a bookmark at the current position.
      • resetToBookmark(bookmark): clears the text after the given bookmark.
    • action execution while temporarily modifying the terminal properties:
      • executeWithPropertiesConfigurator(propertiesConfigurator, action)
      • applyWithPropertiesConfigurator(propertiesConfigurator, action)
    • action handlers:

      - registerHandler(keyStroke, handler)

    InputReader-specific properties:

    - withPropertiesConfigurator(propertiesConfigurator)

    API changes: parameterized generic types