aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/ui.h')
-rw-r--r--src/nvim/ui.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/nvim/ui.h b/src/nvim/ui.h
index 16237214cb..a5a0fa8b75 100644
--- a/src/nvim/ui.h
+++ b/src/nvim/ui.h
@@ -34,8 +34,16 @@ EXTERN const char *ui_ext_names[] INIT(= {
typedef struct ui_t UI;
+enum {
+ kLineFlagWrap = 1,
+ kLineFlagInvalid = 2,
+};
+
+typedef int LineFlags;
+
struct ui_t {
bool rgb;
+ bool composed;
bool ui_ext[kUIExtCount]; ///< Externalized widgets
int width, height;
void *data;
@@ -44,14 +52,6 @@ struct ui_t {
# include "ui_events.generated.h"
#endif
- // For perfomance and simplicity, we use the dense screen representation
- // in the bridge and the TUI. The remote_ui module will translate this
- // in to the public grid_line format.
- void (*raw_line)(UI *ui, Integer grid, Integer row, Integer startcol,
- Integer endcol, Integer clearcol, Integer clearattr,
- Boolean wrap, const schar_T *chunk, const sattr_T *attrs);
- void (*event)(UI *ui, char *name, Array args, bool *args_consumed);
- void (*stop)(UI *ui);
void (*inspect)(UI *ui, Dictionary *info);
};