another typo
This commit is contained in:
parent
34ecaac3d3
commit
034a26c478
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue