aboutsummaryrefslogtreecommitdiff
path: root/vis.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-04-08 22:11:57 +0200
committerMarc André Tanner <mat@brain-dump.org>2017-04-09 11:28:06 +0200
commit4f15fee811d2645bf810a475d4272f83c30608d6 (patch)
treee61902723c42378b78b43e42bf55f37ec216d702 /vis.h
parent6a6bc5bb4c1b5be36b342266d0f74ec4a2843b00 (diff)
downloadvis-4f15fee811d2645bf810a475d4272f83c30608d6.tar.gz
vis-4f15fee811d2645bf810a475d4272f83c30608d6.tar.xz
vis: remove handling of \r\n line endings
Use something like dos2unix(1) and unix2dos(1), if you need to edit such files.
Diffstat (limited to 'vis.h')
-rw-r--r--vis.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/vis.h b/vis.h
index 9b9fbb9..5b49a15 100644
--- a/vis.h
+++ b/vis.h
@@ -156,8 +156,7 @@ void vis_replace_key(Vis*, const char *data, size_t len);
/* inserts a tab (peforms tab expansion based on current editing settings),
* at all current cursor positions */
void vis_insert_tab(Vis*);
-/* inserts a new line sequence (depending on the file type this might be \n or
- * \r\n) at all current cursor positions */
+/* inserts a \n character at every cursor position */
void vis_insert_nl(Vis*);
/* processes the given command line arguments and starts the main loop, won't