mirror of
https://github.com/sigmasternchen/Wish
synced 2025-03-15 15:38:54 +00:00
there was a wrong representation of the newline code
This commit is contained in:
parent
35ee5b67b4
commit
b92c0ce122
1 changed files with 1 additions and 1 deletions
|
@ -550,7 +550,7 @@ Emulator.Output.lineShift = function() {
|
||||||
Emulator.Output.normalOutput = function(text) {
|
Emulator.Output.normalOutput = function(text) {
|
||||||
Emulator.Output.cursorOff();
|
Emulator.Output.cursorOff();
|
||||||
for(var i = 0; i < text.length; i++) {
|
for(var i = 0; i < text.length; i++) {
|
||||||
if (text[i] == "\n") {
|
if (KeyCodes.isEnter(text.charCodeAt(i))) {
|
||||||
Emulator.Output.moveCursor(0, 1, true);
|
Emulator.Output.moveCursor(0, 1, true);
|
||||||
Emulator.Output.xpos = 0;
|
Emulator.Output.xpos = 0;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue