var O_TRUNC = constants.O_TRUNC || 0;
var O_WRONLY = constants.O_WRONLY || 0;
-var isWindows = process.platform === 'win32'
+var isWindows = process.platform === 'win32';
fs.Stats = binding.Stats;
}
if (this.fd !== null) {
- process.nextTick(function () {
+ process.nextTick(function() {
self._read();
});
return;
if (typeof this.input.setRawMode === 'function') {
return this.input.setRawMode(mode);
}
-}
+};
Interface.prototype.prompt = function(preserveCursor) {
self.pause();
self.emit('SIGCONT');
}
- // explictly re-enable "raw mode" and move the cursor to the correct
- // position. See https://github.com/joyent/node/issues/3295.
+ // explictly re-enable "raw mode" and move the cursor to
+ // the correct position.
+ // See https://github.com/joyent/node/issues/3295.
self._setRawMode(true);
self._refreshLine();
};