From d8650986677010cec774c98923b61c54bbca4258 Mon Sep 17 00:00:00 2001 From: Oskar Date: Thu, 21 Dec 2023 14:24:26 +0100 Subject: fixed some annoyances with L and some issues with how X handles the lines if there is no newlines at the end. Also fixed NEW_LINE function to be more useful --- 7ed.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '7ed.h') diff --git a/7ed.h b/7ed.h index cf8dd57..956fa26 100644 --- a/7ed.h +++ b/7ed.h @@ -26,4 +26,6 @@ int GET_LINE(char filename[], long focus, char **line, size_t *start); int editmode(char filename[], long focus); -int NEW_LINE(char filename[]); +int NEW_LINE(char filename[], long new_line_pos_temp); + +int remove_line_contents(char filename[], long focus); \ No newline at end of file -- cgit v1.2.3