summaryrefslogtreecommitdiff
path: root/7ed.h
diff options
context:
space:
mode:
authorOskar <[email protected]>2023-12-21 14:24:26 +0100
committerOskar <[email protected]>2023-12-21 14:24:26 +0100
commitd8650986677010cec774c98923b61c54bbca4258 (patch)
tree3de4d3c5586183500f04387f183827edbfa78dd2 /7ed.h
parentf66a4530ea2fb6097d2aee3105c732aa79267add (diff)
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
Diffstat (limited to '7ed.h')
-rw-r--r--7ed.h4
1 files changed, 3 insertions, 1 deletions
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