summaryrefslogtreecommitdiff
path: root/7ed.h
diff options
context:
space:
mode:
authorOskar <[email protected]>2023-10-28 10:54:05 +0200
committerOskar <[email protected]>2023-10-28 10:54:05 +0200
commitc09957c3026aa7f25d7bc7a0379d961990bc9e34 (patch)
treec71abbca0621a1bb76d1bf44dfecef0596d2a8c2 /7ed.h
parent6e381ded456981842994cce8a205bf4259ff95c8 (diff)
modified GET_LINE() to make it return the index of the first character of the line you are focused on
Diffstat (limited to '7ed.h')
-rw-r--r--7ed.h2
1 files changed, 1 insertions, 1 deletions
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 */