Setting cursor visibility or color #2869
Answered
by
jdhitsolutions
jdhitsolutions
asked this question in
Q&A
-
In my app the blinking cursor is very hard to see in text fields. After reading the docs, I thought I might try setting the cursor to a box. $txtDays = [Terminal.Gui.TextField]@{
Width = 4
Text = 30
Y = $txtDescription.Y + 2
X = $radioGrp.Frame.Width + 2
TabStop = $True
DesiredCursorVisibility = "Box"
} But this doesn't seem to have any effect. Unless the cursor is a box with the same color as the text field. Any tips on defining a contrasting cursor? |
Beta Was this translation helpful? Give feedback.
Answered by
jdhitsolutions
Sep 25, 2023
Replies: 1 comment 3 replies
-
Maybe you have to change the cursor setting on the terminal. I experienced that issue a long tie ago and I have to set the cursor format to box on the |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's exactly what it was. The form was inheriting the cursor setting from Windows Terminal. Setting
DesiredCursorVisibility
doesn't have any effect in this environment. Although I still wish I could change the color.