Add error popup when external editor fails

This commit is contained in:
Joscha 2022-09-25 18:54:56 +02:00
parent 4c7ac31699
commit 9aac9f6fdd
10 changed files with 95 additions and 90 deletions

View file

@ -5,6 +5,7 @@
mod blocks;
mod tree;
use std::io;
use std::sync::Arc;
use async_trait::async_trait;
@ -79,6 +80,7 @@ pub enum Reaction<M: Msg> {
parent: Option<M::Id>,
content: String,
},
ComposeError(io::Error),
}
impl<M: Msg> Reaction<M> {