bhcli

"Strange's fork of n0tr1v's bhcli (onion)"
git clone https://git.dasho.dev/Strange/bhcli.git
Log | Files | Refs | README

commit 2f83b9bc9066002b52f7de89e3fe0b342e4d9ad9
parent 9e69daa3b2e82ad67c04bc0cc61299e0ada2a56b
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Wed, 12 Apr 2023 02:01:58 -0700

fix /me command

Diffstat:
Msrc/main.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.rs b/src/main.rs @@ -978,7 +978,7 @@ impl LeChatPHPClient { self.post_msg(PostType::Upload(file_path, send_to, msg)) .unwrap(); } else { - if input.starts_with("/") { + if input.starts_with("/") && !input.starts_with("/me ") { app.input_idx = input.len(); app.input = input; app.input_mode = InputMode::EditingErr;