correction of [y;xH ANSI sequence

This commit is contained in:
overflowerror 2013-07-20 22:03:56 +02:00
parent 0b996b6a6c
commit 12a5530e73

View file

@ -252,8 +252,8 @@ Emulator.ANSISequences.output = function(text) {
}
Emulator.Output.normalOutput(normalText);
Emulator.Output.cursorOff();
Emulator.Output.xpos = (parseInt(specialText2) >= Emulator.Output.xsize) ? (Emulator.Output.xsize - 1) : parseInt(specialText2);
Emulator.Output.ypos = (parseInt(specialText) >= Emulator.Output.ysize) ? (Emulator.Output.ysize - 1) : parseInt(specialText);
Emulator.Output.xpos = (parseInt(specialText) >= Emulator.Output.xsize) ? (Emulator.Output.xsize - 1) : parseInt(specialText);
Emulator.Output.ypos = (parseInt(specialText2) >= Emulator.Output.ysize) ? (Emulator.Output.ysize - 1) : parseInt(specialText2);
Emulator.Output.cursorOn();
specialText = "";
specialText2 = "";