w_grid_alloc: baseline impl

This commit is contained in:
Björn Linse
2021-02-22 15:03:46 +01:00
parent 070e084a64
commit 08ca5207cd
11 changed files with 87 additions and 71 deletions

View File

@@ -1565,7 +1565,7 @@ void edit_putchar(int c, bool highlight)
{
int attr;
if (curwin->w_grid.chars != NULL || default_grid.chars != NULL) {
if (curwin->w_grid_alloc.chars != NULL || default_grid.chars != NULL) {
update_topline(curwin); // just in case w_topline isn't valid
validate_cursor();
if (highlight) {