mirror of
https://codeberg.org/unspeaker/perch.git
synced 2025-12-07 01:56:45 +01:00
chore: struct Taggart -> Perch
This commit is contained in:
parent
44315dcc72
commit
332869c5cb
12 changed files with 15 additions and 15 deletions
|
|
@ -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(())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue