mirror of
https://github.com/embarklabs/neo-blessed.git
synced 2025-02-24 00:28:06 +00:00
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…
x
Reference in New Issue
Block a user