From c09957c3026aa7f25d7bc7a0379d961990bc9e34 Mon Sep 17 00:00:00 2001 From: Oskar Date: Sat, 28 Oct 2023 10:54:05 +0200 Subject: modified GET_LINE() to make it return the index of the first character of the line you are focused on --- 7ed.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '7ed.h') diff --git a/7ed.h b/7ed.h index 3686773..c7236f0 100644 --- a/7ed.h +++ b/7ed.h @@ -52,6 +52,6 @@ int startmode(char filename[]); #ifndef GET_LINE_H #define GET_LINE_H -int GET_LINE(char filename[], long focus, char **line); +int GET_LINE(char filename[], long focus, char **line, size_t *start); #endif /* GET_LINE_H */ -- cgit v1.2.3