behaviour of con.addch changed - no longer advances cursor

This commit is contained in:
minjaesong
2021-01-29 14:19:37 +09:00
parent c73a725466
commit d963cf8294
10 changed files with 36 additions and 19 deletions

View File

@@ -69,7 +69,7 @@ let repaint = function() {
if (cx >= 0 && cx < termW) {
con.move(cy, cx);
if (char != 10 && char != 13)
con.addch(char);
con.addch(char);con.curs_right();
}
cx += 1;
}