Skip to content

docs: document the split-window fan-out workaround for show() - #53

Merged
hisanari-dev merged 1 commit into
mainfrom
docs/document-fanout-split-workaround
Oct 4, 2026
Merged

hisanari-dev merged 1 commit into
mainfrom
docs/document-fanout-split-workaround

Conversation

@hisanari-dev

Copy link
Copy Markdown
Contributor

📦 Pull Request

Description

PR #51 (issue #10, multi-location placement fan-out) added the underlying primitive — a distinct p= per placement, so the same transmitted image id can carry a second, independent placement without re-transmitting — but never updated README.md/doc/blit.txt, even though docs/spec/renderer-placement.md's own "Reserving space: virt_lines" section already documents a concrete, user-actionable consequence: calling show() again with the same path (and a different win) is the way to display the same image in a second window after :split/:vsplit today, since show() still binds one handle to one window and doesn't auto-detect splits.

This adds that same workaround to:

  • README.md's "Known Issues" section (new bullet, split-window limitation + workaround)
  • doc/blit.txt's show() API docs (new paragraph, same content in vimdoc style)

No code changes.

Related Issue

Related to #10 (the underlying primitive this workaround relies on).

Type of Change

  • Bug fix
  • New feature
  • Refactoring
  • Documentation
  • CI / Infrastructure

Checklist

  • I have run make locally (stylua --check, selene, tests) and it passes.
  • I have added unit tests for new pure logic (escape sequences, chunking, geometry, detection).
  • I have updated the relevant docs/spec/ memo if protocol or terminal-detection behavior changed.
  • I have updated doc/blit.txt and/or README if this changes the public API.
  • I have followed Conventional Commits (feat:, fix:, etc.).

PR #51 (issue #10, multi-location placement fan-out) added the
underlying primitive but never updated README/doc/blit.txt, despite
docs/review-checklist.md's Tests & Docs category requiring vimdoc and
README updates for user-facing behavior. Document the one concrete,
user-actionable consequence: calling show() again with the same path
reuses the already-transmitted image data and is the way to place the
same image into a second window after :split/:vsplit today, since
show() still binds one handle to one window and doesn't auto-detect
splits.

@amazon-q-developer amazon-q-developer Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Documentation-only changes that accurately document the split-window limitation and workaround for show(). The content is technically correct, well-written, and consistent across both README.md and doc/blit.txt. No blocking issues identified.


You can now have the agent implement changes and create commits directly on your pull request's source branch. Simply comment with /q followed by your request in natural language to ask the agent to make changes.

@hisanari-dev
hisanari-dev merged commit 54cf03d into main Oct 4, 2026
3 checks passed
@hisanari-dev
hisanari-dev deleted the docs/document-fanout-split-workaround branch October 4, 2026 13:31
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