Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Readline proposal and bugfixes. #2757

Closed
wants to merge 1 commit into from
Closed

Commits on Feb 16, 2012

  1. Readline proposal and bugfixes.

    Related: nodejs#2737 nodejs#2756
    
    - Removed extra newline from .question(); Users can input a
      newline if it they require it.
    - Removed .close() due to it only emulating closing, causing a bug where
      readline is left open to trigger events such as .on('line', ...').
    - Removed ._attemptClose()
    - .pause() now triggers event .on('pause', ...)
    - .resume() now triggers event .on('resume', ...)
    - CTRL-C (SIGINT) in readline will now default to .pause() if no SIGINT event
      is present.
    - CTRL-D (delete right) will also default to .pause() if there is nothing to
      delete (signaling the end of the file).
    - Added new event `SIGTSTP`
    - Added new event `SIGCONT`
    - Added `resume` to `write` to resume the stream if paused.
    - Docs updated.
    - Updated repl.js
    Southern committed Feb 16, 2012
    Configuration menu
    Copy the full SHA
    a0f7221 View commit details
    Browse the repository at this point in the history