diff options
Diffstat (limited to 'lib/readline.js')
-rw-r--r-- | lib/readline.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/readline.js b/lib/readline.js index b2ab2791d6..e55507416b 100644 --- a/lib/readline.js +++ b/lib/readline.js @@ -246,6 +246,7 @@ function Interface(input, output, completer, terminal) { } Object.setPrototypeOf(Interface.prototype, EventEmitter.prototype); +Object.setPrototypeOf(Interface, EventEmitter); Object.defineProperty(Interface.prototype, 'columns', { configurable: true, |