mirror of
https://github.com/youwen5/iamb.git
synced 2025-06-20 05:39:52 -07:00
Update Cargo.lock file (#157)
This commit is contained in:
parent
0565b6eb05
commit
7fdb5f98e3
5 changed files with 689 additions and 916 deletions
1595
Cargo.lock
generated
1595
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -57,7 +57,7 @@ edit = "0.1.4"
|
||||||
version = "0.0.16"
|
version = "0.0.16"
|
||||||
|
|
||||||
[dependencies.matrix-sdk]
|
[dependencies.matrix-sdk]
|
||||||
version = "0.6"
|
version = "^0.6.2"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = ["e2e-encryption", "sled", "rustls-tls"]
|
features = ["e2e-encryption", "sled", "rustls-tls"]
|
||||||
|
|
||||||
|
|
|
@ -226,10 +226,7 @@ pub enum IambAction {
|
||||||
impl IambAction {
|
impl IambAction {
|
||||||
/// Indicates whether this action will draw over the screen.
|
/// Indicates whether this action will draw over the screen.
|
||||||
pub fn scribbles(&self) -> bool {
|
pub fn scribbles(&self) -> bool {
|
||||||
match self {
|
matches!(self, IambAction::Send(SendAction::SubmitFromEditor))
|
||||||
IambAction::Send(SendAction::SubmitFromEditor) => true,
|
|
||||||
_ => false,
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -271,7 +271,6 @@ fn iamb_editor(desc: CommandDescription, ctx: &mut ProgContext) -> ProgResult {
|
||||||
return Result::Err(CommandError::InvalidArgument);
|
return Result::Err(CommandError::InvalidArgument);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
let sact = IambAction::from(SendAction::SubmitFromEditor);
|
let sact = IambAction::from(SendAction::SubmitFromEditor);
|
||||||
let step = CommandStep::Continue(sact.into(), ctx.context.take());
|
let step = CommandStep::Continue(sact.into(), ctx.context.take());
|
||||||
|
|
||||||
|
|
|
@ -4,10 +4,10 @@ use std::fs;
|
||||||
use std::ops::Deref;
|
use std::ops::Deref;
|
||||||
use std::path::{Path, PathBuf};
|
use std::path::{Path, PathBuf};
|
||||||
|
|
||||||
|
use edit::edit as external_edit;
|
||||||
use modalkit::editing::store::RegisterError;
|
use modalkit::editing::store::RegisterError;
|
||||||
use std::process::Command;
|
use std::process::Command;
|
||||||
use tokio;
|
use tokio;
|
||||||
use edit::edit as external_edit;
|
|
||||||
|
|
||||||
use matrix_sdk::{
|
use matrix_sdk::{
|
||||||
attachment::AttachmentConfig,
|
attachment::AttachmentConfig,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue