mirror of
https://github.com/nuintun/command-manager.git
synced 2025-12-15 07:05:38 +08:00
update files
This commit is contained in:
@@ -7,6 +7,14 @@
|
||||
module.exports = function (Terminal){
|
||||
Terminal.focus = null;
|
||||
|
||||
/**
|
||||
* isFocused
|
||||
* @returns {boolean}
|
||||
*/
|
||||
Terminal.prototype.isFocused = function (){
|
||||
return Terminal.focus === this;
|
||||
};
|
||||
|
||||
/**
|
||||
* focus
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user