implement fixed Split

This commit is contained in:
🪞👃🪞 2024-09-28 19:51:10 +03:00
parent e555074bdf
commit cd0b8a6812
4 changed files with 50 additions and 15 deletions

View file

@ -393,7 +393,7 @@ impl Widget for AddSampleModal {
impl Handle<Tui> for AddSampleModal {
fn handle (&mut self, from: &TuiInput) -> Perhaps<bool> {
if handle_keymap(self, &from.event(), KEYMAP_ADD_SAMPLE)? {
if from.handle_keymap(self, KEYMAP_ADD_SAMPLE)? {
return Ok(Some(true))
}
Ok(Some(true))