Skip to content

Terminal: Disable bold, tweak line height#3215

Open
benjaminleonard wants to merge 2 commits into
mainfrom
terminal-line-height-no-bold
Open

Terminal: Disable bold, tweak line height#3215
benjaminleonard wants to merge 2 commits into
mainfrom
terminal-line-height-no-bold

Conversation

@benjaminleonard
Copy link
Copy Markdown
Contributor

Line Height
In xterm.js, lineHeight is a multiplier on the measured cell height, not the font size. So a lineHeight of 1 is actually closer to what we'd expect here.

Bold
There seems to be a bug where setting bold makes the cell width wider. Not sure if this is on xterm.js or its the font metrics. Better instead to just disable bold.

Before:
image

After:
image

@vercel
Copy link
Copy Markdown

vercel Bot commented May 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
console Ready Ready Preview May 13, 2026 2:04pm

Request Review

@benjaminleonard benjaminleonard changed the title Disable bold, tweak line height Terminal: Disable bold, tweak line height May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant