mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 14:46:03 +00:00
...
This commit is contained in:
parent
e3116fc24c
commit
c410e2b1d1
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue