mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-10 14:44:40 +02:00
* A few updates to experimental per-client child logging
* StatusBarView skeleton * Code cleanup * Menus scan specify emulated baud rate
This commit is contained in:
parent
8fecc779d1
commit
a241f91546
7 changed files with 75 additions and 11 deletions
|
@ -330,7 +330,6 @@ function Client(input, output) {
|
|||
}
|
||||
|
||||
if(key || ch) {
|
||||
//Log.trace( { key : key, ch : ch }, 'User keyboard input');
|
||||
self.log.trace( { key : key, ch : ch }, 'User keyboard input');
|
||||
|
||||
self.emit('key press', ch, key);
|
||||
|
@ -392,7 +391,7 @@ Client.prototype.gotoMenuModule = function(options, cb) {
|
|||
if(err) {
|
||||
cb(err);
|
||||
} else {
|
||||
Log.debug( { menuName : options.name }, 'Goto menu module');
|
||||
self.log.debug( { menuName : options.name }, 'Goto menu module');
|
||||
|
||||
modInst.enter(self);
|
||||
|
||||
|
@ -414,7 +413,7 @@ Client.prototype.defaultHandlerMissingMod = function(err) {
|
|||
var self = this;
|
||||
|
||||
function handler(err) {
|
||||
Log.error(err);
|
||||
self.log.error(err);
|
||||
|
||||
self.term.write(ansi.resetScreen());
|
||||
self.term.write('An unrecoverable error has been encountered!\n');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue