Documentation
¶
Overview ¶
Command hexforge-tui authors the cast in a full-screen terminal program.
It is the other front-end over internal/forge. cmd/hexforge is flags and a line-oriented prompt, which is what a script and a pipe use; this one takes over the screen, so it can show a stat budget and a carry check updating as the author types rather than refusing an answer several questions later. Neither knows a rule of its own: the id check, the kit check, the element check and the budget all come from internal/forge, so the two cannot drift into disagreeing about what a legal character is.
This one also speaks Vietnamese, and does so by default. Every sentence it shows comes from internal/i18n — there is no user-visible wording in this package's own source, which is what TestNoScreenHoldsItsOwnWording checks — and the facts behind those sentences are still internal/forge's. cmd/hexforge stays English on purpose: it is what a script reads.
The screen is bubbletea, styled with lipgloss and built from bubbles. None of that reaches the engine: what has to replay identically in a year is internal/core, and it holds no state a terminal library could reach.