Skip to content

v2.1.0

Compare
Choose a tag to compare
@clue clue released this 06 Feb 13:25
  • Feature: Add support for binding custom functions to any key code.
    (#70 by @clue)

    $readline->on('?', function () use ($stdio) {
        $stdio->write('Do you need help?');
    });
  • Feature: Add addInput() helper method.
    (#69 by @clue)

    $readline->addInput('hello');
    $readline->addInput(' world');