Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use terminal font for terminal suggest #239543

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Conversation

meganrogge
Copy link
Contributor

fix #239095

to do: test font family

@meganrogge meganrogge self-assigned this Feb 3, 2025
@meganrogge meganrogge requested a review from Tyriar February 3, 2025 23:05
@meganrogge meganrogge added this to the February 2025 milestone Feb 3, 2025
@meganrogge meganrogge enabled auto-merge (squash) February 3, 2025 23:05
Comment on lines +385 to +390
if (lineHeight <= 1) {
// Scale so icon shows by default
lineHeight = fontSize < 16 ? Math.ceil(fontSize * 1.5) : fontSize;
} else if (lineHeight <= 8) {
lineHeight = fontSize * lineHeight;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this how the editor was scaling line height? We want large fontSizes to look the same in editor and terminal

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, line height looks a little different. i'll have to see what they do

@meganrogge meganrogge marked this pull request as draft February 3, 2025 23:13
auto-merge was automatically disabled February 3, 2025 23:13

Pull request was converted to draft

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.

Terminal suggest items look crammed
2 participants