diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-05-09 00:44:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-09 00:44:33 +0200 |
commit | f6be28c61a66df1bd88e5aac3d2c20792c541e18 (patch) | |
tree | 4b90720ec4c2b365db3d49c0a9b3c0d74ad1df96 /src/nvim/screen.h | |
parent | 6cfb1d4c280a90bcce4e793f56d791b68c66c264 (diff) | |
parent | df41d884a7b788bb38060e732f1a7abb08de7b1b (diff) | |
download | rneovim-f6be28c61a66df1bd88e5aac3d2c20792c541e18.tar.gz rneovim-f6be28c61a66df1bd88e5aac3d2c20792c541e18.tar.bz2 rneovim-f6be28c61a66df1bd88e5aac3d2c20792c541e18.zip |
Merge pull request #18478 from bfredl/gridfile
refactor(grid): move out grid_* functions from screen.c
Diffstat (limited to 'src/nvim/screen.h')
-rw-r--r-- | src/nvim/screen.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/nvim/screen.h b/src/nvim/screen.h index 33b713e756..3afbaa5eb6 100644 --- a/src/nvim/screen.h +++ b/src/nvim/screen.h @@ -4,7 +4,7 @@ #include <stdbool.h> #include "nvim/buffer_defs.h" -#include "nvim/grid_defs.h" +#include "nvim/grid.h" #include "nvim/pos.h" #include "nvim/types.h" @@ -27,17 +27,6 @@ typedef enum { WC_BOTTOM_RIGHT, } WindowCorner; -/// By default, all windows are drawn on a single rectangular grid, represented by -/// this ScreenGrid instance. In multigrid mode each window will have its own -/// grid, then this is only used for global screen elements that hasn't been -/// externalized. -/// -/// Note: before the screen is initialized and when out of memory these can be -/// NULL. -EXTERN ScreenGrid default_grid INIT(= SCREEN_GRID_INIT); - -#define DEFAULT_GRID_HANDLE 1 // handle for the default_grid - // Maximum columns for terminal highlight attributes #define TERM_ATTRS_MAX 1024 |