fix(ui): propagate line wrapping state on grid_line events

This fixes the TUI's line-wrapping behavior, which was broken with the
migration to the msgpack-based UI protocol (see
https://github.com/neovim/neovim/issues/7369#issuecomment-1571812273).
This commit is contained in:
Ricky Zhou
2023-06-01 02:15:14 -07:00
parent 780ab11b90
commit 981acc2922
6 changed files with 38 additions and 19 deletions

View File

@@ -117,6 +117,7 @@ typedef struct {
int coloff;
int cur_attr;
int clear_width;
bool wrap;
} GridLineEvent;
#endif // NVIM_GRID_DEFS_H