tty-prompt v0.16.0 Release Notes

Release Date: 2018-03-11 // about 6 years ago
  • โž• Added

    • โž• Add :disabled key to Choice
    • Add ability to disable choices in #select, #multi_selct & #enum_select prompts
    • Add #frozen_string_literal to all files

    ๐Ÿ”„ Changed

    • ๐Ÿ”„ Change Choice#from to allow parsing different data structures
    • ๐Ÿ”„ Change all classes to prevent strings mutations
    • ๐Ÿ”„ Change Timeout to cleanly terminate keypress input without raising errors

    ๐Ÿ›  Fixed

    • Fix #select, #enum_select & #multi_select navigation to work correctly with items longer than terminal screen width
    • ๐Ÿ›  Fix timeout on Ruby 2.5 and stop raising Timeout::Error