Minor main frame fixes, turn cursor back on before hangup
This commit is contained in:
@@ -62,7 +62,8 @@ function FrameAnsi() {
|
||||
|
||||
this.cursorOn=function(x,y) {
|
||||
ansi.send('ext_mode','set','cursor');
|
||||
this.gotoxy(x,y);
|
||||
if (x && y)
|
||||
this.gotoxy(x,y);
|
||||
}
|
||||
|
||||
// Field backspace, that leaves the field filler char
|
||||
|
@@ -291,8 +291,8 @@ MsgAreas.prototype.getArea = function(area) {
|
||||
|
||||
var zone = (''+area).substr(1,4);
|
||||
var echo = (''+area).substr(5,2);
|
||||
log(LOG_DEBUG,' - zone:'+JSON.stringify(zone));
|
||||
log(LOG_DEBUG,' - echo:'+JSON.stringify(echo));
|
||||
log(LOG_DEBUG,' - zone:'+zone);
|
||||
log(LOG_DEBUG,' - echo:'+echo);
|
||||
|
||||
return this.areas.filter(function(x) {
|
||||
return x.zone_id === zone && x.area_id === echo;
|
||||
|
Reference in New Issue
Block a user