suppress bold rendering in terminal to keep cell grid stable
Flutter falls back to synthetic bold when JetBrainsMono-Bold isn't registered, and synthetic bold drifts glyph advance widths enough to break the monospace cell grid (cursor block lands between characters, prompts wrap mid-word). Color is enough to convey emphasis in TUIs; semantic italic and underline still render. Also drop the temporary `tmux -L clide kill-server` from the install target — the rapid-iteration loop is no longer needed. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -190,9 +190,12 @@ class TerminalPainter {
|
||||
color = color.withOpacity(0.5);
|
||||
}
|
||||
|
||||
// Skip bold rendering — Flutter's synthetic bold (no Bold.ttf
|
||||
// registered) drifts glyph advance widths slightly, breaking
|
||||
// the cell grid. Color is enough to convey emphasis in TUIs.
|
||||
final style = _textStyle.toTextStyle(
|
||||
color: color,
|
||||
bold: cellFlags & CellFlags.bold != 0,
|
||||
bold: false,
|
||||
italic: cellFlags & CellFlags.italic != 0,
|
||||
underline: cellFlags & CellFlags.underline != 0,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user