mirror of
https://github.com/nuintun/command-manager.git
synced 2025-10-19 17:17:33 +08:00
update files
This commit is contained in:
@@ -46,11 +46,9 @@ module.exports = function (Terminal){
|
||||
* startBlink
|
||||
*/
|
||||
Terminal.prototype.startBlink = function (){
|
||||
if (this.cursor && this.cursorBlink) {
|
||||
if (this.cursor && this.cursorBlink && !this._blink) {
|
||||
var context = this;
|
||||
|
||||
clearInterval(this._blink);
|
||||
|
||||
this._blinker = function (){
|
||||
if (context._cursor) {
|
||||
context.cursorState ^= 1;
|
||||
|
Reference in New Issue
Block a user