Ticket #1953: console noflicker.diff

File console noflicker.diff, 491 bytes (added by terror_macbeth_I, 13 years ago)

patch to fix screen flicker on screen updates in console ui

  • deluge/ui/console/screen.py

    diff --git a/deluge/ui/console/screen.py b/deluge/ui/console/screen.py
    index 2ee8ede..1a05c45 100644
    a b def refresh(self): 
    261261        Updates the lines based on the`:attr:lines` based on the `:attr:display_lines_offset` 
    262262        attribute and the status bars. 
    263263        """ 
    264         self.stdscr.clear() 
     264        self.stdscr.erase() 
    265265 
    266266        # Update the status bars 
    267267        self.add_string(0, self.topbar)