Add error popup when external editor fails
This commit is contained in:
parent
4c7ac31699
commit
9aac9f6fdd
10 changed files with 95 additions and 90 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue