diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-01-13 19:07:52 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-01-13 19:07:52 +0100 |
| commit | cad4ad2c4e9de198ca78958b4db79886ffb81c56 (patch) | |
| tree | 2b24dda6b58908a036b45ba02a584f2e8e982c7c /vis.c | |
| parent | 8bccf8cb189ba2afcb1fa0f274d2c104dde09398 (diff) | |
| download | vis-cad4ad2c4e9de198ca78958b4db79886ffb81c56.tar.gz vis-cad4ad2c4e9de198ca78958b4db79886ffb81c56.tar.xz | |
Rename window_line_* functions
Diffstat (limited to 'vis.c')
| -rw-r--r-- | vis.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -281,11 +281,11 @@ static size_t window_lines_middle(const Arg *arg); static size_t window_lines_bottom(const Arg *arg); static Movement moves[] = { - [MOVE_SCREEN_LINE_UP] = { .win = window_line_up }, - [MOVE_SCREEN_LINE_DOWN] = { .win = window_line_down }, - [MOVE_SCREEN_LINE_BEGIN] = { .win = window_line_begin, .type = CHARWISE }, - [MOVE_SCREEN_LINE_MIDDLE] = { .win = window_line_middle, .type = CHARWISE }, - [MOVE_SCREEN_LINE_END] = { .win = window_line_end, .type = CHARWISE|INCLUSIVE }, + [MOVE_SCREEN_LINE_UP] = { .win = window_screenline_up }, + [MOVE_SCREEN_LINE_DOWN] = { .win = window_screenline_down }, + [MOVE_SCREEN_LINE_BEGIN] = { .win = window_screenline_begin, .type = CHARWISE }, + [MOVE_SCREEN_LINE_MIDDLE] = { .win = window_screenline_middle, .type = CHARWISE }, + [MOVE_SCREEN_LINE_END] = { .win = window_screenline_end, .type = CHARWISE|INCLUSIVE }, [MOVE_LINE_PREV] = { .txt = text_line_prev, .type = LINEWISE }, [MOVE_LINE_BEGIN] = { .txt = text_line_begin, .type = LINEWISE }, [MOVE_LINE_START] = { .txt = text_line_start, .type = LINEWISE }, @@ -789,15 +789,15 @@ static size_t column(const Arg *arg) { } static size_t window_lines_top(const Arg *arg) { - return window_line_goto(vis->win->win, action.count); + return window_screenline_goto(vis->win->win, action.count); } static size_t window_lines_middle(const Arg *arg) { - return window_line_goto(vis->win->win, vis->win->height / 2); + return window_screenline_goto(vis->win->win, vis->win->height / 2); } static size_t window_lines_bottom(const Arg *arg) { - return window_line_goto(vis->win->win, vis->win->height - action.count); + return window_screenline_goto(vis->win->win, vis->win->height - action.count); } /** key bindings functions of type: void (*func)(const Arg*) */ |
