[PR #9386] [MERGED] [Settings UI] Represent Cursor Height as a slider #27562

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/9386
Author: @eugenesmlv
Created: 3/5/2021
Status: Merged
Merged: 3/9/2021
Merged by: @undefined

Base: mainHead: vintage-cursor-height-slider


📝 Commits (2)

  • f78b21e Change cursor height number box to slider
  • d97a184 Restrict the minimum cursor height to 1px

📊 Changes

4 files changed (+20 additions, -9 deletions)

View changed files

📝 doc/cascadia/profiles.schema.json (+2 -2)
📝 src/cascadia/TerminalSettingsEditor/Profiles.xaml (+14 -6)
📝 src/renderer/dx/CustomTextRenderer.cpp (+2 -0)
📝 src/renderer/dx/CustomTextRenderer.h (+2 -1)

📄 Description

Change the vintage cursor height number box to a 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/9386 **Author:** [@eugenesmlv](https://github.com/eugenesmlv) **Created:** 3/5/2021 **Status:** ✅ Merged **Merged:** 3/9/2021 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `vintage-cursor-height-slider` --- ### 📝 Commits (2) - [`f78b21e`](https://github.com/microsoft/terminal/commit/f78b21ed39ddbe7223e5e891c70b232d7912404a) Change cursor height number box to slider - [`d97a184`](https://github.com/microsoft/terminal/commit/d97a184e3385c08a0c1532ba75fe5d403770cc5b) Restrict the minimum cursor height to 1px ### 📊 Changes **4 files changed** (+20 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `doc/cascadia/profiles.schema.json` (+2 -2) 📝 `src/cascadia/TerminalSettingsEditor/Profiles.xaml` (+14 -6) 📝 `src/renderer/dx/CustomTextRenderer.cpp` (+2 -0) 📝 `src/renderer/dx/CustomTextRenderer.h` (+2 -1) </details> ### 📄 Description Change the vintage cursor height number box to a slider. ## References Related: #9370 ## PR Checklist * [x] Closes #9377 * [x] zadjii-msft edit: Now _this one_ closes #9175 * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [x] Schema updated. * [x] Documentation updated here: MicrosoftDocs/terminal#278 ## 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](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:42 +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#27562