Cover style "halves": left and right half blocks only

Twice the horizontal detail of "cells", for terminals such as macOS
Terminal whose upper and lower half blocks do not meet at the middle of
the cell.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019reK4DUGYqDUjniWYJvwUW
This commit is contained in:
2026-10-21 11:38:04 +02:00
co-authored by Claude Opus 5.5
parent 417e61da00
commit 8f162729ea
8 changed files with 30 additions and 9 deletions
+5 -1
View File
@@ -8,7 +8,11 @@
- **Posters in macOS Terminal:** Terminal.app draws the half and quarter blocks from the font, and
their halves do not meet at the middle of the cell, so posters looked like rows of shifted dots.
`auto` now draws them there as plain colored cells (new `ui.cover_style` value `cells`): coarser,
but even. For real images on macOS use Ghostty or kitty.
but even. `halves` (left and right half blocks only, twice the detail across) can be tried there
too. For real images on macOS use Ghostty or kitty.
- **Real images in Ghostty and kitty on macOS:** the question whether the terminal supports the
Kitty graphics protocol gave up at once on macOS (a terminal device there cannot have a read
timeout in Go), so posters were always drawn with blocks. It now waits with select(2).
- **Real images only when the terminal confirms it:** the terminal is asked whether it supports the
Kitty graphics protocol before real-image posters are used, so terminals that only look like kitty
or Ghostty no longer get graphics commands printed as text. On macOS the sextant blocks are no