diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2019-07-02 15:53:43 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2019-09-01 15:55:10 +0200 |
commit | b51ba122c1edfb769e72c25c4f14f469f59f1b8e (patch) | |
tree | 84052cf27b2e1aa904b898cd01d9d35df9afaf92 /src/nvim/message.h | |
parent | 9cec097ffacfd0de100912781df2efed1a4c8ba9 (diff) | |
download | rneovim-b51ba122c1edfb769e72c25c4f14f469f59f1b8e.tar.gz rneovim-b51ba122c1edfb769e72c25c4f14f469f59f1b8e.tar.bz2 rneovim-b51ba122c1edfb769e72c25c4f14f469f59f1b8e.zip |
screen: use dedicated message grid
add proper msg_set_pos event, delet win_scroll_over_*
make compositor click through unfocusable grids
add MsgArea attribute for the message/cmdline area, and add docs and tests
Diffstat (limited to 'src/nvim/message.h')
-rw-r--r-- | src/nvim/message.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nvim/message.h b/src/nvim/message.h index 914c10af43..1703384bb5 100644 --- a/src/nvim/message.h +++ b/src/nvim/message.h @@ -7,6 +7,7 @@ #include "nvim/macros.h" #include "nvim/types.h" +#include "nvim/grid_defs.h" /* * Types of dialogs passed to do_dialog(). @@ -90,6 +91,13 @@ extern MessageHistoryEntry *last_msg_hist; EXTERN bool msg_ext_need_clear INIT(= false); +EXTERN ScreenGrid msg_grid INIT(= SCREEN_GRID_INIT); +EXTERN ScreenGrid msg_grid_adj INIT(= SCREEN_GRID_INIT); + +EXTERN int msg_scroll_at_flush INIT(= 0); + +EXTERN int msg_grid_pos INIT(= 0); + #ifdef INCLUDE_GENERATED_DECLARATIONS # include "message.h.generated.h" #endif |