mirror of
https://codeberg.org/unspeaker/perch.git
synced 2025-12-07 01:56:45 +01:00
try to write to file (os error 22)
This commit is contained in:
parent
576725a949
commit
0d1d4b6e9a
4 changed files with 15 additions and 9 deletions
|
|
@ -33,8 +33,8 @@ impl Handle<TuiIn> for Perch {
|
|||
match &self.mode {
|
||||
Some(Mode::Edit { .. }) => self.handle_edit(event),
|
||||
Some(Mode::Help { page }) => self.handle_help(event, *page),
|
||||
Some(Mode::Save { choice }) => self.handle_save(event, *choice),
|
||||
Some(Mode::Quit { choice }) => self.handle_quit(input, *choice),
|
||||
Some(Mode::Save { choice }) => self.handle_save(event, *choice)?,
|
||||
Some(Mode::Quit { choice }) => self.handle_quit(input, *choice)?,
|
||||
None => match event {
|
||||
press!(F(1)) => { self.help_begin() },
|
||||
press!(Char('q')) => { self.quit_begin(&input) },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue