mirror of
https://github.com/nuintun/command-manager.git
synced 2025-06-08 12:14:03 +08:00
update files
This commit is contained in:
parent
da9ea2aca8
commit
93b8d9342b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user