Apply suggestions from code review

Co-authored-by: link2xt <link2xt@testrun.org>
Co-authored-by: iequidoo <117991069+iequidoo@users.noreply.github.com>
This commit is contained in:
Simon Laux
2024-10-10 15:14:27 +02:00
committed by Simon Laux
parent 3d4e96897e
commit fbf2538fa2
2 changed files with 6 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
# Delta Chat REPL
This is a simple [REPL](https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop) frontend built on top of Delta Chat core.
Its purpose is to help with quick testing during development, it is not meant for end users.
This is a [REPL](https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop) frontend built on top of Delta Chat core.
Its purpose is to help with testing during development, it is not meant for end users.
Dependencies:
- if you want to use `getqr` you need `qrencode` (To install use your systems package manager)
@@ -12,7 +12,7 @@ Dependencies:
cargo run <path to deltachat db>
```
Type in `help` to learn about what comands are available.
Type in `help` to learn about what commands are available.
## Usage with `tokio-console`
@@ -30,9 +30,9 @@ RUSTFLAGS="--cfg tokio_unstable" cargo run <path to deltachat db>
```
Then in a new console window start [`tokio-console`](https://github.com/tokio-rs/console).
You can install it via `cargo install tokio-console`.
You can install it via `cargo install --locked tokio-console`.
### Quick Example
### Example
An example session in the REPL tool:

View File

@@ -151,7 +151,7 @@ pub(crate) async fn set_debug_logging_xdc(ctx: &Context, id: Option<MsgId>) -> a
let (sender, debug_logging_recv) = channel::bounded(1000);
let loop_handle = {
let ctx = ctx.clone();
spawn_named_task!("debug_logging_loop", async move {
spawn_named_task!("xdc_debug_logging_loop", async move {
debug_logging_loop(&ctx, debug_logging_recv).await
})
};