Skip to content

Conversation

pwang347
Copy link
Member

@pwang347 pwang347 commented Oct 10, 2025

Before After
image image

Based on the configuration description the treatment here should differ from regular editor suggest line heights:
image

Compare with:
image

Fixes #255851

@Copilot Copilot AI review requested due to automatic review settings October 10, 2025 22:53
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes the terminal suggest addon's line height calculation to match terminal-specific behavior, where line height values should always be multiplied by font size rather than following editor suggestion behavior. The change ensures consistent treatment with terminal configuration expectations.

Key changes:

  • Removes dependency on MINIMUM_LINE_HEIGHT constant and always multiplies line height by font size
  • Replaces minimum line height enforcement with terminal-specific calculation using GOLDEN_LINE_HEIGHT_RATIO

@pwang347 pwang347 requested review from Tyriar and meganrogge October 10, 2025 22:56
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.

Icon are clipped in terminal suggest when using lineHeight

1 participant