mirror of
https://codeberg.org/unspeaker/perch.git
synced 2025-12-06 09:36:42 +01:00
emit tasks for columns
This commit is contained in:
parent
e16e8131aa
commit
59c2fdcbcd
6 changed files with 79 additions and 55 deletions
|
|
@ -44,7 +44,7 @@ impl Handle<TuiIn> for Taggart {
|
|||
press!(Left) => { self.column = self.column.saturating_sub(1); },
|
||||
press!(Right) => { self.column = self.column + 1; },
|
||||
press!(Enter) => { self.edit_begin() },
|
||||
press!(Char(' ')) => { open(&self.entries[self.cursor].path)?; }
|
||||
press!(Char(' ')) => { open(self.entries[self.cursor].path.as_ref())?; }
|
||||
press!(Char(']')) => { self.columns.0[self.column].width += 1; }
|
||||
press!(Char('[')) => { self.columns.0[self.column].width =
|
||||
self.columns.0[self.column].width.saturating_sub(1).max(5); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue