Testing...

This commit is contained in:
Bryan Ashby 2017-09-02 10:27:59 -06:00
parent d300583574
commit a642a271b4
1 changed files with 3 additions and 1 deletions

View File

@ -140,15 +140,17 @@ exports.MenuModule = class MenuModule extends PluginModule {
if(_.isNumber(this.menuConfig.options.baudRate)) { if(_.isNumber(this.menuConfig.options.baudRate)) {
// :TODO: some terminals not supporting cterm style emulated baud rate end up displaying a broken ESC sequence or a single "r" here // :TODO: some terminals not supporting cterm style emulated baud rate end up displaying a broken ESC sequence or a single "r" here
this.client.term.rawWrite(ansi.setEmulatedBaudRate(this.menuConfig.options.baudRate));
initSeq += ansi.setEmulatedBaudRate(this.menuConfig.options.baudRate); initSeq += ansi.setEmulatedBaudRate(this.menuConfig.options.baudRate);
} }
if(this.cls) { if(this.cls) {
this.client.term.rawWrite(ansi.resetScreen());
initSeq += ansi.resetScreen(); initSeq += ansi.resetScreen();
} }
if(initSeq) { if(initSeq) {
this.client.term.rawWrite(initSeq); // this.client.term.rawWrite(initSeq);
} }
return cb(null); return cb(null);