def _blink_cursor(self): # theme: terminal
        '''alternate the background color of the cursorblock tagged text
        every 600 milliseconds'''
        
        if self.switch == self.fg:
            self.switch = self.bg
        else:
            self.switch = self.fg

        self.tag_config('cursorblock', background=self.switch)

        self.after(600, self._blink_cursor)
alternate the background color of the cursorblock tagged text
        every 600 milliseconds
recipes/Python/578897_SuperText__Scrollable_text_popmenu_themes/recipe-578897.py