aboutsummaryrefslogtreecommitdiff
path: root/vis-lua.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-11-06 21:29:40 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-11-10 22:35:41 +0100
commit910d1ed70ea124fa9a4ca7d8e490bcde2135c030 (patch)
treef9b62d00ddf2828a2dd08b4c93e5618d3502e14a /vis-lua.c
parent835cef65fdc886bcda74a1b66649a78aa8f00d3c (diff)
downloadvis-910d1ed70ea124fa9a4ca7d8e490bcde2135c030.tar.gz
vis-910d1ed70ea124fa9a4ca7d8e490bcde2135c030.tar.xz
vis: change default status bar indication for Windows style line endings
Diffstat (limited to 'vis-lua.c')
-rw-r--r--vis-lua.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vis-lua.c b/vis-lua.c
index 7e40585..efcc998 100644
--- a/vis-lua.c
+++ b/vis-lua.c
@@ -53,8 +53,8 @@ static void window_status_update(Vis *vis, Win *win) {
vis_macro_recording(vis) ? " @": "");
left_count++;
- if (text_newline_type(txt) != TEXT_NEWLINE_LF)
- strcpy(right_parts[right_count++], "␊");
+ if (text_newline_type(txt) == TEXT_NEWLINE_CRLF)
+ strcpy(right_parts[right_count++], "␍␊");
int cursor_count = view_cursors_count(view);
if (cursor_count > 1) {