clone

fifteen puzzle games for the terminal, with daily puzzles, weekly ladders and xp, built on bubble tea

fix: remove RootStyle margin to prevent render overflow in v2 alt screen

Dami committed 77225ac
The bubbletea v2 Cursed Renderer in alt screen mode is stricter about
content fitting within terminal dimensions. The RootStyle margin (1,2)
was adding padding outside the placed content, causing total width to
exceed the terminal and producing ghost text at screen edges.

Remove RootStyle and its frame size subtraction -- use full terminal
dimensions directly with lipgloss.Place() for centering. The Place()
call alone provides sufficient visual centering without outer margins.
commit
77225ac6dc23baea791c16b2d5fc472440e9f580
parent
098f74916781034ff46f1feddc5a25d6948419f6
author
Dami <dami.etoile@gmail.com>
2 files changed, +9 -19
Mui/style.go12++----------
Mupdate.go16+++++++---------
M ui/style.go +2 -10
M update.go +7 -9