chore: struct Taggart -> Perch

This commit is contained in:
🪞👃🪞 2025-04-09 01:17:04 +03:00
parent 44315dcc72
commit 332869c5cb
12 changed files with 15 additions and 15 deletions

View file

@ -25,7 +25,7 @@ mod save;
mod quit;
mod help;
impl Handle<TuiIn> for Taggart {
impl Handle<TuiIn> for Perch {
fn handle (&mut self, input: &TuiIn) -> Perhaps<bool> {
let min = self.offset;
let max = self.offset + self.display.h().saturating_sub(1);
@ -60,7 +60,7 @@ impl Handle<TuiIn> for Taggart {
}
}
impl Taggart {
impl Perch {
fn open_in_player (&self) -> Usually<()> {
open(self.entries[self.cursor].path.as_ref())?;
Ok(())