mirror of
https://codeberg.org/unspeaker/perch.git
synced 2025-12-08 02:26:42 +01:00
clear_changes -> revert_all; stub save_all
This commit is contained in:
parent
573bb8ae4c
commit
576725a949
3 changed files with 27 additions and 6 deletions
|
|
@ -12,13 +12,16 @@ impl Perch {
|
|||
}) },
|
||||
press!(Enter) => match choice {
|
||||
0 => {
|
||||
self.clear_changes();
|
||||
self.revert_all();
|
||||
self.mode = None;
|
||||
},
|
||||
1 => {
|
||||
self.mode = None;
|
||||
},
|
||||
2 => {
|
||||
self.save_all();
|
||||
self.mode = None
|
||||
},
|
||||
2 => todo!(),
|
||||
_ => unreachable!(),
|
||||
},
|
||||
_ => {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue