File src/ui/fileview.c changed (mode: 100644) (index 6af8974f9..cf5f5610e) |
... |
... |
fview_cursor_redraw(view_t *view) |
829 |
829 |
|
|
830 |
830 |
/* Always redrawing the cell won't hurt and will account for the case when |
/* Always redrawing the cell won't hurt and will account for the case when |
831 |
831 |
* selection state of item under the cursor has changed. */ |
* selection state of item under the cursor has changed. */ |
832 |
|
if(!ui_view_displays_columns(view)) |
|
|
832 |
|
if(view == other_view) |
833 |
833 |
{ |
{ |
834 |
|
/* Inactive cell in ls-like view usually takes less space than an active |
|
835 |
|
* one. Need to clear the cell before drawing over it. */ |
|
836 |
|
redraw_cell(view, view->top_line, view->curr_line, 0); |
|
|
834 |
|
fview_draw_inactive_cursor(view); |
|
835 |
|
} |
|
836 |
|
else |
|
837 |
|
{ |
|
838 |
|
if(!ui_view_displays_columns(view)) |
|
839 |
|
{ |
|
840 |
|
/* Inactive cell in ls-like view usually takes less space than an active |
|
841 |
|
* one. Need to clear the cell before drawing over it. */ |
|
842 |
|
redraw_cell(view, view->top_line, view->curr_line, 0); |
|
843 |
|
} |
|
844 |
|
redraw_cell(view, view->top_line, view->curr_line, 1); |
837 |
845 |
} |
} |
838 |
|
redraw_cell(view, view->top_line, view->curr_line, 1); |
|
839 |
846 |
} |
} |
840 |
847 |
|
|
841 |
848 |
void |
void |