Skip to content

v2.2.0

Compare
Choose a tag to compare
@clue clue released this 03 Sep 12:25
  • Feature / Fix: Accept CR as an alias for LF to support more platforms.
    (#79 by @clue)

    The enter key will usually end the line with a \n (LF)
    character on most Unix platforms. Common terminals also accept the
    ^M (CR) key in place of the ^J (LF) key.

    By now allowing CR as an alias for LF in this library, we can significantly
    improve compatibility with this common usage pattern and improve platform
    support. In particular, some platforms use different TTY settings (icrnl,
    igncr and family) and depending on these settings emit different EOL
    characters. This fixes issues where enter was not properly
    detected when using ext-readline on Mac OS X, Android and others.

  • Fix: Fix and simplify restoring TTY mode when ext-readline is not in use.
    (#74 and #78 by @clue)

  • Update project homepage, minor code style improvements and sort dependencies.
    (#72 and #81 by @clue and #75 by @localheinz)