multigrid: Get rid of global ScreenLines and set_screengrid

This commit is contained in:
Utkarsh Maheshwari
2018-08-17 17:40:04 +05:30
committed by Björn Linse
parent 0432e1586e
commit 911b731378
8 changed files with 43 additions and 59 deletions

View File

@@ -1494,7 +1494,7 @@ void edit_putchar(int c, int highlight)
{
int attr;
if (ScreenLines != NULL) {
if (default_grid.ScreenLines != NULL) {
update_topline(); /* just in case w_topline isn't valid */
validate_cursor();
if (highlight) {