Merge pull request #926 from mitchellh/kitty-bug
renderer: handle Kitty images where z < 0 for all placementspull/927/head
commit
9d7864ff6c
|
|
@ -1214,6 +1214,9 @@ fn prepKittyGraphics(
|
|||
self.image_text_end = @intCast(i);
|
||||
}
|
||||
}
|
||||
if (self.image_text_end == 0) {
|
||||
self.image_text_end = @intCast(self.image_placements.items.len);
|
||||
}
|
||||
}
|
||||
|
||||
/// Update the configuration.
|
||||
|
|
|
|||
|
|
@ -839,6 +839,9 @@ fn prepKittyGraphics(
|
|||
self.image_text_end = @intCast(i);
|
||||
}
|
||||
}
|
||||
if (self.image_text_end == 0) {
|
||||
self.image_text_end = @intCast(self.image_placements.items.len);
|
||||
}
|
||||
}
|
||||
|
||||
/// rebuildCells rebuilds all the GPU cells from our CPU state. This is a
|
||||
|
|
|
|||
Loading…
Reference in New Issue