[PR #9383] [CLOSED] Represent Cursor Height as a slider #27551

Open
opened 2026-01-31 09:22:38 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/9383
Author: @eugenesmlv
Created: 3/4/2021
Status: Closed

Base: mainHead: cursor-height-slider


📝 Commits (3)

  • 787cfc0 Change cursor height number box to slider
  • f8de980 Remove unnecessary margin
  • 2324a79 Merge branch 'main' into cursor-height-slider

📊 Changes

3 files changed (+707 additions, -699 deletions)

View changed files

📝 doc/cascadia/profiles.schema.json (+2 -2)
📝 src/cascadia/TerminalSettingsEditor/Profiles.xaml (+704 -696)
📝 src/renderer/dx/CustomTextRenderer.h (+1 -1)

📄 Description

Summary of the Pull Request

Change the vintage cursor height number box to slider.

References

Related: #9370

PR Checklist

Detailed Description of the Pull Request / Additional comments

It seems like the cursor height couldn't be lower than 25 percent regardless of the given value, so I've changed the MinCursorHeightPercent in CustomTextRenderer header file.

Validation Steps Performed

Manual validation

CursorHeightSlider


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/9383 **Author:** [@eugenesmlv](https://github.com/eugenesmlv) **Created:** 3/4/2021 **Status:** ❌ Closed **Base:** `main` ← **Head:** `cursor-height-slider` --- ### 📝 Commits (3) - [`787cfc0`](https://github.com/microsoft/terminal/commit/787cfc0258d088dd36f8aeaef3e09fac9620f298) Change cursor height number box to slider - [`f8de980`](https://github.com/microsoft/terminal/commit/f8de98073e69b214024957e0646c6df2d8a8438a) Remove unnecessary margin - [`2324a79`](https://github.com/microsoft/terminal/commit/2324a7952d25c7631ad84a3644a0db3e6db0b935) Merge branch 'main' into cursor-height-slider ### 📊 Changes **3 files changed** (+707 additions, -699 deletions) <details> <summary>View changed files</summary> 📝 `doc/cascadia/profiles.schema.json` (+2 -2) 📝 `src/cascadia/TerminalSettingsEditor/Profiles.xaml` (+704 -696) 📝 `src/renderer/dx/CustomTextRenderer.h` (+1 -1) </details> ### 📄 Description <!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Change the vintage cursor height number box to slider. ## References Related: #9370 <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [x] Closes #9377 * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [ ] Tests added/passed * [ ] Documentation updated. If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx * [x] Schema updated. * [ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments It seems like the cursor height couldn't be lower than 25 percent regardless of the given value, so I've changed the `MinCursorHeightPercent` in CustomTextRenderer header file. <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed Manual validation ![CursorHeightSlider](https://user-images.githubusercontent.com/39456018/110041939-bf076080-7d66-11eb-8d58-ba9a84922803.gif) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:22:38 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#27551