11 lines
260 B
JavaScript
11 lines
260 B
JavaScript
|
'use strict'
|
||
|
|
||
|
const { EventEmitter } = require('events')
|
||
|
const { screen, Screen } = process.atomBinding('screen')
|
||
|
|
||
|
// Screen is an EventEmitter.
|
||
|
Object.setPrototypeOf(Screen.prototype, EventEmitter.prototype)
|
||
|
EventEmitter.call(screen)
|
||
|
|
||
|
module.exports = screen
|