From 63934feaa91af342fcaf6b67f86fb6c3f4828df8 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 21 Nov 2016 14:32:20 +0530 Subject: [PATCH] Remove unused code --- kitty/char_grid.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/kitty/char_grid.py b/kitty/char_grid.py index f2281a058..17b14fbf0 100644 --- a/kitty/char_grid.py +++ b/kitty/char_grid.py @@ -232,11 +232,6 @@ class CharGrid: rd.cursor = Cursor(c.x, c.y, c.hidden, c.shape, c.color, c.blink) self.render_queue.put(rd) - def update_line(self, y, cell_ranges, dffg, dfbg, ptr): - line = self.screen.line(y) - for x, xmax in cell_ranges: - self.sprites.update_cell_data(line, x, xmax, self.color_profile, dfbg, dffg, ptr) - def render(self): ' This is the only method in this class called in the UI thread (apart from __init__) ' if self.clear_count > 0: