aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/grid_defs.h
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-11-03 14:25:15 +0100
committerGitHub <noreply@github.com>2023-11-03 14:25:15 +0100
commit310896f6aa1d1242d531c30d2cffa20ff8cb635f (patch)
treeaeb487ea271274f92c59c275bf6cb26e42ed2eac /src/nvim/grid_defs.h
parentd4dc1355eda78ca2a8aece08d1ab6c6bc1e91505 (diff)
parent44f0480a22af8f87f8784dac430416cb9913adea (diff)
downloadrneovim-310896f6aa1d1242d531c30d2cffa20ff8cb635f.tar.gz
rneovim-310896f6aa1d1242d531c30d2cffa20ff8cb635f.tar.bz2
rneovim-310896f6aa1d1242d531c30d2cffa20ff8cb635f.zip
Merge pull request #25874 from bfredl/lets_rock
refactor(grid): implement rightleftcmd as a post-processing step
Diffstat (limited to 'src/nvim/grid_defs.h')
-rw-r--r--src/nvim/grid_defs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/grid_defs.h b/src/nvim/grid_defs.h
index c65c273d57..390b2a848a 100644
--- a/src/nvim/grid_defs.h
+++ b/src/nvim/grid_defs.h
@@ -16,7 +16,9 @@
// otherwise it must be a UTF-8 string of length maximum 4 (no NUL when n=4)
typedef uint32_t schar_T;
-typedef int sattr_T;
+typedef int32_t sattr_T;
+// must be at least as big as the biggest of schar_T, sattr_T, col_T
+typedef int32_t sscratch_T;
enum {
kZIndexDefaultGrid = 0,