diff --git a/kilo.c b/kilo.c index 96df245..c4c16c8 100644 --- a/kilo.c +++ b/kilo.c @@ -537,7 +537,17 @@ void editorDrawRows(struct abuf *ab) { int len = E.row[filerow].rsize - E.coloff; if (len < 0) len = 0; if (len > E.screencols) len = E.screencols; - abAppend(ab, &E.row[filerow].render[E.coloff], len); + char *c = &E.row[filerow].render[E.coloff]; + int j; + for (j=0; j