Pass text length along with text of file read
Fix partial displaying of binary data in view mode
Squash null terminated lines on reading files

Just to reduce number of useless lines, which otherwise can reach really
huge quantity.
Add binary data reading test
Add vifm_wcwidth() utility function

Determines columns needed for a wide character.
Fix displaying of non-printable characters in view
Merge branch 'fix-view-mode-for-binary-data'

Fix several issues with displaying binary data in view mode and preview
pane.
Extract view_draw_pos() function in view.c

Displays view mode specific position information.
Add empty lines to modes/view.h

To make it more readable.
Extract ui_pos_window_set() function in ui.c

Sets text to be displayed in position window (ruler).

Should be used instead of manual updating by manipulating pos_win
through curses API.
Use new update_pos_window() function in 3 places
Fix ruler redraw on term resize explore mode

Used to draw current position in file list instead of line position in
view mode.
Simplify if-condition in update_screen() of ui.c

When get_mode() returns VIEW_MODE, curr_view->explore_mode is
redundant for the condition.
Merge branch 'correct-pos-window-after-resize-in-view-mode'

Fix redrawing ruler on terminal resize while being in explore mode.