Documentation
¶
Overview ¶
Package gridblock adapts the product-neutral strongo-tui grid.Model to aichat's transcript.Block contract, so a result grid can be a chat transcript entry. It is the only place aichat and strongo-tui's grid meet: grid.Model knows nothing about transcript or session.EntityRef.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Block ¶
Block adapts *grid.Model to transcript.Block, transcript.EntityBlock and transcript.SelfFramed. Model is embedded, so every other grid method (Title, CapturesEsc, SetSize, SetFocused, SelectRow, ...) is promoted unchanged, and View(width, focused) satisfies transcript.Block as is.
func (*Block) SelfFramed ¶
SelfFramed reports that the grid draws its own complete border, so transcript must not wrap it in a card fill.