diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-04-08 22:11:57 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-04-09 11:28:06 +0200 |
| commit | 4f15fee811d2645bf810a475d4272f83c30608d6 (patch) | |
| tree | e61902723c42378b78b43e42bf55f37ec216d702 /vis.h | |
| parent | 6a6bc5bb4c1b5be36b342266d0f74ec4a2843b00 (diff) | |
| download | vis-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.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |
