mirror of
https://codeberg.org/unspeaker/perch.git
synced 2025-12-06 17:46:42 +01:00
open files with space
This commit is contained in:
parent
8cc9418272
commit
41c5686d67
5 changed files with 137 additions and 33 deletions
11
src/model.rs
11
src/model.rs
|
|
@ -3,6 +3,17 @@ use walkdir::DirEntry;
|
|||
use id3::{Tag, TagLike};
|
||||
use std::io::Read;
|
||||
|
||||
pub struct Taggart {
|
||||
pub root: PathBuf,
|
||||
pub paths: Vec<Entry>,
|
||||
pub cursor: usize,
|
||||
pub offset: usize,
|
||||
pub column: usize,
|
||||
pub columns: Columns<Entry>,
|
||||
pub size: Measure<TuiOut>,
|
||||
pub editing: Option<(usize, usize)>,
|
||||
}
|
||||
|
||||
#[derive(Ord, Eq, PartialEq, PartialOrd)]
|
||||
pub struct Entry {
|
||||
pub path: PathBuf,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue