aboutsummaryrefslogtreecommitdiff
path: root/vis.c
diff options
context:
space:
mode:
Diffstat (limited to 'vis.c')
-rw-r--r--vis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vis.c b/vis.c
index dc2c984..f3cd6d6 100644
--- a/vis.c
+++ b/vis.c
@@ -306,7 +306,7 @@ static void window_draw_cursorline(Win *win) {
return;
if (view_cursors_multiple(view))
return;
-
+
int width = view_width_get(view);
CellStyle style = win->ui->style_get(win->ui, UI_STYLE_CURSOR_LINE);
Cursor *cursor = view_cursors_primary_get(view);
@@ -420,7 +420,7 @@ static void window_draw_eof(Win *win) {
return;
CellStyle style = win->ui->style_get(win->ui, UI_STYLE_EOF);
for (Line *l = view_lines_last(view)->next; l; l = l->next) {
- strcpy(l->cells[0].data, "~");
+ strcpy(l->cells[0].data, view_symbol_eof_get(view));
l->cells[0].style = style;
}
}