Skip to content

fix(terminal): search box as full-width strings; indent no longer adds 8px - #83

Merged
zyx1121 merged 1 commit into
mainfrom
fix/search-box-columns
Oct 14, 2026
Merged

zyx1121 merged 1 commit into
mainfrom
fix/search-box-columns

Conversation

@zyx1121

@zyx1121 zyx1121 commented Oct 14, 2026

Copy link
Copy Markdown
Member
  • `PluginList` draws `SearchBox` under its count, as Claude Code does.
  • `SearchBox` measures the cells across the window and prints each row as one string (`╭───╮`), so corners meet the lines and copying gives the real box.
  • `indent-` collided with Tailwind's `indent-` (text-indent: 0.25rem × n): every indented row had 8px more on its first line. Renamed to `pl-cells-*`.

Verified on a local carrel.winlab.tw build: text-indent 0, box 79 cells at 1280px, copied rows are 79 characters with corners.

🤖 Generated with Claude Code

…s 8px

- The /plugins search box sits under 'Install Plugins (n/m)', as in
  Claude Code. Each row is one string sized to the window's cells, so
  the corners meet the lines and the box copies whole.
- The cell indent utility was named indent-*, the same as Tailwind's
  text-indent. Every indented row got 8px more on its first line. It is
  now pl-cells-*, like w-cells-* and gap-cells-*.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@zyx1121
zyx1121 merged commit 24601d2 into main Oct 14, 2026
3 of 4 checks passed
@zyx1121
zyx1121 deleted the fix/search-box-columns branch October 14, 2026 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant