add fixmes
This commit is contained in:
parent
05dee3251f
commit
26493977be
@ -33,6 +33,7 @@ pub fn render(
|
||||
for i in 0..line.line.len() {
|
||||
let (bg, fg) = color_model.cell_colors(&line.line[i]);
|
||||
|
||||
// FIXME: draw background for all item length
|
||||
if let Some(bg) = bg {
|
||||
ctx.set_source_rgb(bg.0, bg.1, bg.2);
|
||||
ctx.rectangle(line_x, line_y, char_width, line_height);
|
||||
|
@ -267,6 +267,7 @@ impl StyledLine {
|
||||
let mut cell_to_byte = Vec::new();
|
||||
let attr_list = pango::AttrList::new();
|
||||
let mut byte_offset = 0;
|
||||
//FIXME: generate single attr for same atttributes values
|
||||
|
||||
for (cell_idx, cell) in line.line.iter().enumerate() {
|
||||
if cell.attrs.double_width {
|
||||
|
Loading…
Reference in New Issue
Block a user