From c410e2b1d1ab9dd1edbeea991441e888d62cf882 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 30 Oct 2016 17:41:21 +0530 Subject: [PATCH] ... --- kitty/char_grid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/char_grid.py b/kitty/char_grid.py index b168b3f0e..7e0f48678 100644 --- a/kitty/char_grid.py +++ b/kitty/char_grid.py @@ -238,9 +238,9 @@ class CharGrid: self.update_cell(line, x, y, fgct, bgct, dffg, dfbg) def update_cell(self, line, x, y, fgct, bgct, dffg, dfbg): + ch, attrs, colors = line.basic_cell_data(x) idx = x + y * self.screen_geometry.xnum offset = idx * 9 - ch, attrs, colors = line.basic_cell_data(x) bgcol = colors >> COL_SHIFT if bgcol: bgcol = as_color(bgcol, bgct) or dfbg