aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ugrid.h
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2018-09-26 12:20:57 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2018-09-26 19:30:21 +0200
commit1b8939d23321f5c7a818a5ba2125793797031835 (patch)
tree667190b7aade382b977ca1087badb61eb3d6fbf1 /src/nvim/ugrid.h
parentfc18fad74ff3be9929d9d10de964f4813497fba0 (diff)
downloadrneovim-1b8939d23321f5c7a818a5ba2125793797031835.tar.gz
rneovim-1b8939d23321f5c7a818a5ba2125793797031835.tar.bz2
rneovim-1b8939d23321f5c7a818a5ba2125793797031835.zip
tui: eliminate grid->attrs, use indexed cell->attr
remove dead ugrid_put
Diffstat (limited to 'src/nvim/ugrid.h')
-rw-r--r--src/nvim/ugrid.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/ugrid.h b/src/nvim/ugrid.h
index 04e027bd46..0751010d6b 100644
--- a/src/nvim/ugrid.h
+++ b/src/nvim/ugrid.h
@@ -11,14 +11,13 @@ typedef struct ugrid UGrid;
struct ucell {
char data[CELLBYTES + 1];
- HlAttrs attrs;
+ sattr_T attr;
};
struct ugrid {
int top, bot, left, right;
int row, col;
int width, height;
- HlAttrs attrs;
UCell **cells;
};