clear_changes -> revert_all; stub save_all

This commit is contained in:
🪞👃🪞 2025-04-27 20:21:33 +03:00
parent 573bb8ae4c
commit 576725a949
3 changed files with 27 additions and 6 deletions

View file

@ -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!(),
},
_ => {}