redraw editor sooner

This commit is contained in:
🪞👃🪞 2024-10-21 02:28:45 +03:00
parent 9cbe805c46
commit 059b4c0aa8
4 changed files with 30 additions and 81 deletions

View file

@ -153,7 +153,7 @@ impl Content for PhraseEditor<Tui> {
)
}
}
impl PhraseEditor<Tui> {
impl<E: Engine> PhraseEditor<E> {
const H_KEYS_OFFSET: usize = 5;
pub fn put (&mut self) {
if let (Some(phrase), Some(time), Some(note)) = (