From 6f8ea7487bf20db79c256aa8c1c31896e06bdf58 Mon Sep 17 00:00:00 2001 From: Aaron Fischer Date: Fri, 12 Oct 2018 17:04:01 +0200 Subject: [PATCH] Make numbers red --- kilo.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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