another typo

This commit is contained in:
Christopher Jeffrey 2013-01-27 11:33:04 -06:00
parent 34ecaac3d3
commit 034a26c478
1 changed files with 4 additions and 2 deletions

View File

@ -41,8 +41,10 @@ program.write('Hi again!');
program.bg('!white');
program.feed();
program.getCursor(function(data) {
console.log('Cursor is at: %s, %s.', data.x, data.y);
program.getCursor(function(err, data) {
if (!err) {
console.log('Cursor is at: %s, %s.', data.x, data.y);
}
program.charset('SCLD');
program.write('abcdefghijklmnopqrstuvwxyz0123456789');