v0.5.0 #12
kungfusheep
announced in
Announcements
v0.5.0
#12
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Full Changelog: v0.4.0...v0.5.0
Breaking
TextViewword-wraps by default.TextBlock.CharWrap()for character-wrap.BorderSoftverticals and corners now use full block█(was▌▐▛▜▙▟). Visual thickness now matches top/bottom under typical 2:1 cell aspect.Correctness
StringWidthreplaces rune count for text measurement across template, selection list, and alignment. Emoji and CJK reserve correct display-cellwidth.
WriteStringFastplaces aRune=0placeholder in the trailing cell;FlushFullskips placeholders to prevent row misalignment.FlushFull/FlushBuffernow write frame and cursor ops in a single syscall under the sync guard. Removes blank flash.New
TextBlock— multi-line word-wrapping text, no layer overhead..CharWrap()switches mode.RowWriter— zero-alloc primitive.buf.Row(y, style).Put(x, r)hoists dirty tracking and default-style merge once per row.width.go— single control point for text measurement:StringWidth,RuneWidth,RuneCount.SetTerminalBG/ResetTerminalBGvia OSC 11 / 111, tmux DCS passthrough.Appsets it automatically when the default BG is RGB.GLYPH_TEEenv var — tees raw screen output to a file for debugging corruption.Fixes
Buffer.CopyFromhandles size mismatch during in-flight resize.This discussion was created from the release v0.5.0.
All reactions