mirror of
https://github.com/embarklabs/neo-blessed.git
synced 2025-01-10 19:16:20 +00:00
add ignoreKyes option to Message.
This commit is contained in:
parent
db10ca1bc4
commit
083a4901bd
@ -5779,6 +5779,9 @@ Message.prototype.display = function(text, time, callback) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (self.options.ignoreKeys && ~self.options.ignoreKeys.indexOf(key.name)) {
|
||||
return;
|
||||
}
|
||||
self.screen.removeListener('keypress', fn);
|
||||
end();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user