Function broot::command::move_sel[][src]

pub fn move_sel(selection: usize, len: usize, d: i32, cycle: bool) -> usize
Expand description

compute a new selection index for the given list len, taking into account whether we should cycle or not