     color = @getColor 'primary'
     @updateStylesheet primarySelector, 'background-color', color
     @updateStylesheet primarySelector, 'border-color', color
+    # also apply to blink-off state if cursor blink is disabled
     if 0 is @getConfig 'blinkInterval'
       @updateStylesheet secondarySelector, 'background-color', color
       @updateStylesheet secondarySelector, 'border-color', color
 
   applySecondaryColor: =>
+    # use primaryColor if cursor blink is disabled
     color = @getColor (if 0 is @getConfig 'blinkInterval' then 'primary' else 'secondary')
     @updateStylesheet secondarySelector, 'background-color', color
     @updateStylesheet secondarySelector, 'border-color', color

  applyBlinkInterval: do ->
    sub = null
    (interval) ->
      if interval is 0 then interval = -1 + Math.pow 2, 31
      @applySecondaryColor()
      sub?.dispose()

      default: ''
      order: 8
    cursorLineFix:
      description: 'Fix to render the cursor above the text when the cursor line has a background-color. See readme for more info.'
      type: 'boolean'
      default: false
      order: 9
