Refactor code to get cell colors

This commit is contained in:
Kovid Goyal
2021-10-28 13:35:30 +05:30
parent 5f12fbc2ee
commit 93dbcab10a
5 changed files with 28 additions and 25 deletions

View File

@@ -119,3 +119,4 @@ void historybuf_clear(HistoryBuf *self);
void mark_text_in_line(PyObject *marker, Line *line);
bool line_has_mark(Line *, uint16_t mark);
PyObject* as_text_generic(PyObject *args, void *container, get_line_func get_line, index_type lines, ANSIBuf *ansibuf);
bool colors_for_cell(Line *self, ColorProfile *cp, index_type *x, color_type *fg, color_type *bg);