Devin Jeanpierre committed 33fe940 Draft

Fixed screen.clear() to adhere to docstring

  • Participants
  • Parent commits 63bdbe5

Comments (0)

Files changed (1)

         Force the screen to be completely repainted on the next
         call to draw_screen().
-        self._surface.fill(self.BG_DEFAULT)
-        self._refresh(self._grid)
+        # XXX: is it appropriate to do work here, I wonder?
+        # May also be desirable to have a _complete_refresh attribute
+        ##self._surface.fill(self.BG_DEFAULT)
+        self._grid_dirty.update(self._grid)
 def compute_resolution(resolution, font_size, resolution_in_pixels=False,