From 308cb7acbe9cd8edfb9365da7c206e0dbf4af898 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 13 Nov 2021 22:02:30 -0800 Subject: . --- src/kilo.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/kilo.c b/src/kilo.c index 801ba4b..8d23bb4 100644 --- a/src/kilo.c +++ b/src/kilo.c @@ -1,6 +1,4 @@ -/* Kilo -- A very simple editor in less than 1-kilo lines of code (as counted - * by "cloc"). Does not depend on libcurses, directly emits VT100 - * escapes on the terminal. +/* Based on https://github.com/antirez/kilo * * ----------------------------------------------------------------------- * @@ -218,7 +216,7 @@ static void editorUpdateSyntax(erow *row) { in_comment = 1; while(*p) { - /* Handle // comments. */ + /* Handle single-line comments. */ if (prev_sep && *p == scs[0] && *(p+1) == scs[1]) { /* From here to end is a comment */ memset(row->hl+i,HL_COMMENT,row->size-i); @@ -650,8 +648,6 @@ writeerr: extern char *Previous_error; extern void draw_menu_item(const char* key, const char* name); -/* This function writes the whole screen using VT100 escape characters - * starting from the logical state of the editor in the global state 'E'. */ static void editorRefreshScreen(void) { int y; erow *r; -- cgit 1.4.1-2-gfad0 11'>commit diff stats
path: root/index.html
blob: d06995d0eeab8d4ea146fb39e4ee6ac2461cfe3d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14