/* Move cursor to the first column in ls-view sub-mode selecting or unselecting * files while moving. */ static void cmd_zero(key_info_t key_info, keys_info_t *keys_info) { if(!at_first_column(view)) { goto_pos(get_start_of_line(view)); } }
void go_to_start_of_line(FileView *view) { view->list_pos = get_start_of_line(view); }