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
|
* startBlink
|
||||||
*/
|
*/
|
||||||
Terminal.prototype.startBlink = function (){
|
Terminal.prototype.startBlink = function (){
|
||||||
if (this.cursor && this.cursorBlink) {
|
if (this.cursor && this.cursorBlink && !this._blink) {
|
||||||
var context = this;
|
var context = this;
|
||||||
|
|
||||||
clearInterval(this._blink);
|
|
||||||
|
|
||||||
this._blinker = function (){
|
this._blinker = function (){
|
||||||
if (context._cursor) {
|
if (context._cursor) {
|
||||||
context.cursorState ^= 1;
|
context.cursorState ^= 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user