mirror of
https://github.com/patriceckhart/zot.git
synced 2026-06-26 21:36:31 +02:00
frame header pad length used len(label) which counts bytes, not on-screen cells. titles containing em-dashes, box-drawing or any multibyte rune left a few extra bytes of "imaginary length" so the trailing ── run came up short of the right edge -- visible on the /btw header which starts with "btw — side chat ...". swap to runewidth.StringWidth for both frameHeader and frameHeaderColor. also lands the /btw side-chat overlay this commit pre-staged: opens via /btw [optional question], snapshots system + transcript + provider client at open time, fires one-off model calls against that frozen context plus the side-chat history, renders replies through the markdown pipeline. esc cancels in-flight calls or closes when idle. nothing is appended to the main transcript or the session jsonl. spinner reuses the main funny-line rotation. |
||
|---|---|---|
| .. | ||
| agent | ||
| assets | ||
| auth | ||
| core | ||
| provider | ||
| tui | ||