Skip to content

v0.2.2 — fix garbled colors; harden file sending

Choose a tag to compare

@dearabhin dearabhin released this 24 Jun 04:36

Bug fixes

  • Fixed the garbled chat UI. In-session output now renders its color palette correctly instead of showing raw escape codes like ?[38;5;245m (caused by printing raw ANSI under prompt_toolkit's patch_stdout()).
  • Hardened large file/image sending. Fragment frames are no longer PKCS#7-padded up to 512 bytes — they stay ~475 bytes so they don't exceed the negotiated BLE MTU and get dropped silently on a write-without-response.
  • /send now refuses early with a clear message when no peer is connected, and prints a "Sending …" progress notice for large files.
  • Typing a bare file path (which starts with / and looked like a command) now suggests the correct /send <path>.

Install / upgrade

```bash
pip install -U bitchat-cli
bitchat-cli # or: bitchat
```

PyPI: https://pypi.org/project/bitchat-cli/0.2.2/