From 02c54fe6f289901f5b356ca98a81dec78fef4f36 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Fri, 16 Aug 2019 19:36:20 +0100 Subject: add support for comments --- draw.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'draw.c') diff --git a/draw.c b/draw.c index c361acb..1c74a94 100644 --- a/draw.c +++ b/draw.c @@ -508,3 +508,12 @@ void redo_change(){ redraw(); } + +/** Comments **/ + +void get_comment(FILE *fc){ + char c; + redraw(); + while((c = fgetc(fc)) != EOF && c != '\n'); + mode = MOVE; +} -- cgit v1.2.3