bhcli

A TUI for chatting on LE PHP Chats (onion)
git clone https://git.dasho.dev/n0tr1v/bhcli.git
Log | Files | Refs | README

commit 02582afbe9826c3b87a309a2933244e5ac4d4427
parent b4acc6c94dc1c087f4ccbe61f3aabb069672d26d
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Fri, 31 Mar 2023 00:07:50 -0700

add doc

Diffstat:
Msrc/lechatphp/mod.rs | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/lechatphp/mod.rs b/src/lechatphp/mod.rs @@ -7,6 +7,8 @@ use image::{DynamicImage, GenericImageView, Rgba}; use lazy_static::lazy_static; const B64_PREFIX: &'static str = "R0lGODlhCAAOAIAAAAAAAAAAACH5BAgAAAAALAAAAAAIAA4AgAQCBPz+/AI"; +// list of letters that contains other letters: (h, n) (I, l) (y, u) (Q, O) (B, 3) (E, L) (R, P) +// So our alphabet needs to have "I" before "l" since "l" is contained by "I". const ALPHABET1: &'static str = "abdcefgh1ijkImnpoqrstyQuvwxzABCDEGJKMNHLORPFSTlUVWXYZ023456789"; const LETTER_WIDTH: u32 = 8; const LETTER_HEIGHT: u32 = 14;