diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-06-12 19:40:43 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-06-15 15:51:43 +0200 |
| commit | 83206fa91345d24881146f1caed88050594797e1 (patch) | |
| tree | 00e89505fa86757027593df8d0cec8e22b301f0e /ui-terminal.c | |
| parent | 6a5d72f10cffb5bd2ae832c909cf75aab7db8666 (diff) | |
| download | vis-83206fa91345d24881146f1caed88050594797e1.tar.gz vis-83206fa91345d24881146f1caed88050594797e1.tar.xz | |
vis: rename uses of Cursor to Selection
Diffstat (limited to 'ui-terminal.c')
| -rw-r--r-- | ui-terminal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui-terminal.c b/ui-terminal.c index 6ba3164..69a6f29 100644 --- a/ui-terminal.c +++ b/ui-terminal.c @@ -247,8 +247,8 @@ static void ui_window_draw(UiWin *w) { vis_window_draw(win->win); line = view_lines_first(view); size_t prev_lineno = 0; - Cursor *cursor = view_selections_primary_get(view); - const Line *cursor_line = view_cursors_line_get(cursor); + Selection *sel = view_selections_primary_get(view); + const Line *cursor_line = view_cursors_line_get(sel); size_t cursor_lineno = cursor_line->lineno; char buf[sidebar_width+1]; int x = win->x, y = win->y; |
