mirror of
https://codeberg.org/unspeaker/perch.git
synced 2025-12-07 01:56:45 +01:00
identify files manually by magic numbers
This commit is contained in:
parent
5d7c2054b3
commit
928d38bfaa
5 changed files with 154 additions and 99 deletions
|
|
@ -101,7 +101,7 @@ impl<'a> Content<TuiOut> for TreeTable<'a> {
|
|||
to.fill_bg(fill, Color::Rgb(192, 128, 0));
|
||||
let fill = [area.x() + x as u16, y, w, 1];
|
||||
to.fill_bg(fill, Color::Rgb(224, 192, 0));
|
||||
if let Some((index, value)) = &self.0.editing {
|
||||
if let Some((_index, value)) = &self.0.editing {
|
||||
let x = area.x() + if x > 0 { x + 1 } else { x } as u16;
|
||||
to.blit(&value, x, y, None)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue