fix: always reserve space for selection marker to prevent text shift
Some checks failed
ci/woodpecker/pr/check Pipeline failed

Render "  " (2 spaces) for unselected messages instead of nothing,
so text stays aligned when navigating with the ▶ selection indicator.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Mikhail Kilin
2026-02-24 15:49:08 +03:00
parent dfd4184039
commit a095fe277b
22 changed files with 54 additions and 58 deletions

View File

@@ -9,9 +9,9 @@ expression: output
│ ──────── 02.01.2022 ──────── │
│ │
│User ──────────────── │
│ (14:33) This is a very long message that should wrap across multiple lines
│ when rendered in the terminal UI. Let's make it even longer to
│ ensure we test the wrapping behavior properly.
(14:33) This is a very long message that should wrap across multiple lines │
when rendered in the terminal UI. Let's make it even longer to │
ensure we test the wrapping behavior properly. │
│ │
│ │
│ │