aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/grid.h
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-10-31 21:33:00 +0100
committerbfredl <bjorn.linse@gmail.com>2023-11-03 11:35:42 +0100
commit44f0480a22af8f87f8784dac430416cb9913adea (patch)
treeaeb487ea271274f92c59c275bf6cb26e42ed2eac /src/nvim/grid.h
parentd4dc1355eda78ca2a8aece08d1ab6c6bc1e91505 (diff)
downloadrneovim-44f0480a22af8f87f8784dac430416cb9913adea.tar.gz
rneovim-44f0480a22af8f87f8784dac430416cb9913adea.tar.bz2
rneovim-44f0480a22af8f87f8784dac430416cb9913adea.zip
refactor(grid): implement rightleftcmd as a post-processing step
Previously, 'rightleftcmd' was implemented by having all code which would affect msg_col or output screen cells be conditional on `cmdmsg_rl`. This change removes all that and instead implements rightleft as a mirroring post-processing step.
Diffstat (limited to 'src/nvim/grid.h')
-rw-r--r--src/nvim/grid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/grid.h b/src/nvim/grid.h
index 1b2c529a93..6e3c4fd770 100644
--- a/src/nvim/grid.h
+++ b/src/nvim/grid.h
@@ -29,6 +29,7 @@ EXTERN bool resizing_screen INIT( = 0);
EXTERN schar_T *linebuf_char INIT( = NULL);
EXTERN sattr_T *linebuf_attr INIT( = NULL);
EXTERN colnr_T *linebuf_vcol INIT( = NULL);
+EXTERN char *linebuf_scratch INIT( = NULL);
// Low-level functions to manipulate individual character cells on the
// screen grid.